Start Activity on shell

Put your problem here if it does not fit any of the other categories.

Start Activity on shell

Postby Unrol » Tue Feb 28, 2012 3:04 pm

Hello everyone,

I am using a single Board computer (this one in this case : http://www.armkits.com/product/sbc8530.asp)

And I install Android on it. So I can use Android just with shell commande.

There is my problem I want to launch an activity so I enter :

am start -a android.intent.action.MAIN -n my.package/my.package.MyClass

But the activity seems to start and to stop immedialtely because I have the sound of the start of the activity and directly the sound that means that the activity is destroy.

how can I do to let run my activity?

Thanks for reading me
Unrol
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Feb 28, 2012 2:59 pm

Top

Re: Start Activity on shell

Postby nuetronprotron » Mon Mar 05, 2012 2:02 pm

Hi Unrol,
I am sorry to post this reply but i think you should post this question in NDK section and that might help u better,its just a suggestion not a complaint man hope u understand.I am too looking for the replies to ur question.
I think i can too check with my frnds on this.
nuetronprotron
Developer
Developer
 
Posts: 37
Joined: Tue Jan 10, 2012 10:22 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 9 guests