Hi Jugni, Yes, I know. That's the reason I am asking if its possible.
As I mentioned, I don't have control over Activity A, only B. Activity A doesn't belong to me. My activity is activity B. I didn't understand 'use class file'. Can you please explain in detail ? thanks. On Tuesday, September 4, 2012 2:33:33 PM UTC+9, jugni wrote: > > 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 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