Ok.

So,  in Activity A's onPause, is it possible to find which activity is 
launched ? i.e., when Activity B is launched, is it possible to find in 
Activity A's onPause that Activity B is launched ?

On Wednesday, September 5, 2012 10:40:34 AM UTC+9, Mark Murphy (a Commons 
Guy) wrote:
>
> On Tue, Sep 4, 2012 at 9:29 PM, HK <android....@gmail.com <javascript:>> 
> wrote: 
> > The behavior I am looking for which I think not supported by Android: 
> > Activity A is running which I do not have much control, it doesn't 
> belong to 
> > me. 
> > I start Activity B whose only purpose is to display some dialogs. When I 
> > start Activity B, Activity A's onPause is called and this onPause draws 
> the 
> > screen blank. 
> > So I was expecting some solution where Activity A's onPause is not 
> called. I 
> > know this is not normally possible with Android's concept, so I was 
> hoping 
> > if some developers in this forum has some tweaks. 
>
> Sorry, but onPause() is always called if some other activity takes 
> over the foreground. 
>
> -- 
> Mark Murphy (a Commons Guy) 
> http://commonsware.com | http://github.com/commonsguy 
> http://commonsware.com/blog | http://twitter.com/commonsguy 
>
> Android Training in NYC: http://marakana.com/training/android/ 
>

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