I have an app that has an effect similar to what you are trying to accomplish (I think)...
If you take a look at AppSwipe! in the Google Play Store you will see that I do not get a black background... AppSwipe! runs as an activity that has a transparent background. https://play.google.com/store/apps/details?id=com.magouyaware.appswipe Is this what you are trying to implement? If so, then it has absolutely nothing to do with whether or not onPause() gets called on the activity in the background. If this is not what you are trying to do, then please clarify... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Sep 4, 2012 at 10:14 AM, TreKing <treking...@gmail.com> wrote: > On Tue, Sep 4, 2012 at 1:28 AM, HK <android.out.th...@gmail.com> wrote: > >> My activity B is started from a service and is only meant for Alert >> dialogs and nothing else. So I don't want activity A to go into onPause and >> show background black. > > > If you start some Activity B after another Activity A, A's onPause will be > called. That is how Android works. If you don't want this behavior, then > don't start another Activity. > > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > -- > 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 > -- 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