directory of self-written programms

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


Sponsored Links
 hello,

Ive just written my first "hello world" and its running fine on the
g1.
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
better.

thank you very much

michael

--~--~---------~--~----~------------~-------~--~----~



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

--
Jon

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Object encapsulating multiple views

I have a layout that has three views (situated in one vertical
linearlayout and one horizontal) in it which I would like to wrap into
a single object.  Is there any easy way to do this?  Right now I have
a flurry of foo.setBlahBlah(bar) calls to link them all which I have
to call after setContentView, but it makes the code messier than I
would like.  What is the best way to encapsulate them?  Is there a way
to add subviews to a view object?  Should I extend one of the layout
classes?  Am I missing a better option entirely?
--~--~---------~--~----~------------~-------~--~----~

2. SDK 1.1 view quicktime video on Android

Dear all,
I'm developing the porting of my iphone application to android.
I couldn't view video. Tipically in iphone on safary browser or in my
native application using phonegap (mainly WebView use) with the simple
code in html is:
<embed id="videomauro" src="http://streaming.exibart.tv:81/
LuMusarteKlein.m4v" width="280" height="40" SCALE="Aspect"></embed>

any solution for android?
doesn't work
:-(


--~--~---------~--~----~------------~-------~--~----~

3. How to prevent multiple instance of the same widget being added to the homescreen

4. How can i build one jar to one LOCAL_JAVA_LIBRARIES

5. user page on the market

6. Draggable Map Objects

7. Does the previous released image and RFS support voice record?