Hello HK,

If you know the android life cycle then you may know that when we go to
next activity then first activity should be on pause.So if you want the
alert dialog then you can also show in the same activity.So why you create
the new activity.Or if you want to handle different dialog thenuse the
class file and then just call the class file from activity so activity will
be running and alert dialog also popup.

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