Anyone? Can't figure out why it isnt working... :s

On Feb 9, 8:19 pm, Dirk Vranckaert <dirkvrancka...@gmail.com> wrote:
> All,
>
> For the app i'm currently writing I  needs some help.
>
> My activity structure when launching the app with the launcher:
> HomeActivity => ListActivity
> On the listActivity I've put a home button with a clear top flag
> (intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);)
> So pressing the home button makes me return to my home activity, on my
> home activity pressing the back button results in the application
> closing. That exactly what I want.
>
> However when you click a button on my widget you directly go to the
> ListActivity. Then you click the home button and the flag on the
> intent is set correctly but the stack isn't cleared at all! So when
> arriving at my home activity I press the back button and instead of
> quitting the application it goes back to my ListActivity.
>
> Any ideas how I can resolve this one?

-- 
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