directory of self-written programms

by mechatronicsStudent » Fri, 13 Feb 2009 02:06:23 GMT

Sponsored Links

Ive just written my first "hello world" and its running fine on the
I guess its a stupid question but I cant find an answer in the net:

Ive written a programm helloWorld.apk and installed it with adb
install on the phone.

Were can I find this programm now in the file system?
And how can I get this programm starting just by typing helloWorld in
the shell?

I guess I could answer this question if my knowledge about linux were

thank you very much



directory of self-written programms

by Jon Colverson » Fri, 13 Feb 2009 08:08:43 GMT

 On Feb 12, 1:35pm, mechatronicsStudent

The apk is installed in /data/app and files used by your application
are stored (normally) in /data/data/com.example.yourpackagename. The
apk files are not directly executable, but there is a command that you
can use to invoke an activity from the command-line:

am start -n com.example.yourpackagename/.YourActivity



Sponsored Links

Other Threads

1. class does not exist?

Manifest for Camera.git application lists this service.

I am trying to simply build the Camera application and am unable to do
so.  There have been several small issues (such as a resource file
having values not compatible with the latest SDK), but this one seems
a bit more of a problem ;)...

Anyone successfully built the full (not commented out here and there)
Camera application?

Tips appreciated.

Thanks :)


2. Making things louder

I released a simple app that plays sounds and some users are
complaining that it's not loud enough.  Beyond the user actually
cranking up the volume on the side of G1, is there anything that my
application can do to make things louder?

3. List of private / hidden / system APIs?

4. Network activity for each Process (based on PID)

5. Att: group owners, please unsubscribe

6. How to add activity to application to the task history(long press home key)

7. Can I release app to market which relies on a 1.1 feature?