Your activity must be finishing itself or otherwise causing it to go away.
 Look at the log and see if there is anything interesting.  The am command
is just like calling Context.startActivity().

On Tue, Feb 28, 2012 at 2:24 AM, Valentin Mary <[email protected]> wrote:

> I had installed Android on a single board computer (ARM processor)
> So I only have the shell and I want to start an activity
>
> So I type am start - android.intent.action.MAIN -n xxx.xxx/
> xxx.xxx.myClass
>
> The activity seems to launch and stop imediately (I heard the sound
> for start up and 1sec later the sound for the close of activity)
>
> How can I do to keep the activity open?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to