On Apr 28, 8:02 pm, Ned Fox wrote:
> I have an application that is silencing the ringer while it is open,
> then when it closes it unsilences it. Currently I am doing these two
> things in OnStart and OnStop. The only problem (and it's a big one) is
> that when a phone call comes in, it stops my application (calling
> OnStop), then rings at its normal volume.
>
> Is there any way to get around this? I tried using onCreate and
> onDestroy, but I want to restore the original volume setting as soon
> as the program is closed, which onDestroy doesn't seem to do. Thanks!
>

Have you tried hooking onResume/onPause instead?

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