Android Question Closing PreferenceScreen

KPmaster

Member
Licensed User
Longtime User
Hi all,
I manage user settings using PreferenceActivity and PreferenceScreen.
My application send/receive messages via socket, and some of those raises some alert, but if the user is looking at the Preferences no alerts are raised until the screen is closed.

How can I close it automatically when alerts are raised?
 

KPmaster

Member
Licensed User
Longtime User
The alerts activity is the only activity in my application. StartActivity pause the current one to resume the new one, so I don't think is useful to do it to itself.
 
Upvote 0
Top