On Fri, Jul 15, 2011 at 1:50 AM, Talha Hafeez <[email protected]> wrote:
> How may I get the SHUTDOWN event of android mobile, means to say that
> when user tries to shut its mobile off, I want to make some changes in
> shared preferences before shutting down.

Listen for ACTION_SHUTDOWN broadcasts.

> Similarly I want to do some
> changes when User tries to change its background wallpaper.

I am not aware of a broadcast for this, though there could be one -- I
don't deal with wallpaper much.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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