Hi,

I'm trying to do something similar. I have a few activities in my app.
When the app starts it goes from

EULA -> Loading Screen -> Main Activity

If I get to the Main Activity and hit the back button it will go back
to the Loading Screen (which I understand) but now I'm trapping the
onKeyDown for the back button in my Main Activity and would like to
get to the home screen through startActivity()

System.exit(1) as suggested below seems to just restart my Main
Activity. Any suggestions? Thanks!

On Feb 25, 12:25 am, Romain Guy <romain...@google.com> wrote:
> Or better yet, press theHomekey :)
>
>
>
> On Tue, Feb 24, 2009 at 9:25 PM, Romain Guy <romain...@google.com> wrote:
> > Just press back :)
>
> > On Tue, Feb 24, 2009 at 9:24 PM,  <ipeg.stud...@gmail.com> wrote:
>
> >> Hi All Android Developers.......
>
> >>                           Thanks for the replaies. I want to go to
> >> thehomepage of android from myactivity. Can anybody tell me how can
> >> i do this? I have tried a lot. Thanks in advance.
>
> > --
> > Romain Guy
> > Android framework engineer
> > romain...@android.com
>
> > Note: please don't send private questions to me, as I don't have time
> > to provide private support.  All such questions should be posted on
> > public forums, where I and others can see and answer them
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to