Was NOT what I was looking for!

On Feb 27, 8:06 am, Zack <[email protected]> wrote:
> Well, that was simple :) Thanks all. I knew System.exit() was what I
> was looking for.
>
> On Feb 27, 3:27 am, "[email protected]"
>
> <[email protected]> wrote:
> > you should just remove it from the Java implementation :-)
>
> > On 27 Feb., 04:40, Dianne Hackborn <[email protected]> wrote:
>
> > > And for heaven's sake don't call System.exit()!
>
> > > On Thu, Feb 26, 2009 at 10:50 AM, Marco Nelissen 
> > > <[email protected]>wrote:
>
> > > > On Thu, Feb 26, 2009 at 5:26 AM, Zack <[email protected]> wrote:
>
> > > > > 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!
>
> > > > You can just have your loading screen and EULA activities call
> > > > finish() on themselves when they are done. That way your 'main'
> > > > activity becomes the first activity in the chain, and exiting it will
> > > > exit your app.
>
> > > --
> > > 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.  All such questions should be posted on public
> > > forums, where I and others can see and answer them.- Zitierten Text 
> > > ausblenden -
>
> > > - Zitierten Text anzeigen -
--~--~---------~--~----~------------~-------~--~----~
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