Justin,

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

On Wednesday, September 5, 2012 6:23:51 AM UTC+9, MagouyaWare wrote:
>
> 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 <[email protected] <javascript:>
> > wrote:
>
>> On Tue, Sep 4, 2012 at 1:28 AM, HK <[email protected] 
>> <javascript:>>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 
>> [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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 [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