java - Is there a way to receive broadcast each time any activity is launched? -
for android developers
my goal saved when activity launched...
for instant there 3 activity launched during last hour, want save database.
of course launch service , check every seconds activity launched use phone battery!
thanks answers.
maybe implement application class, similar singleton method. store data within application every time call new activity.
application : http://developer.android.com/reference/android/app/application.html
Comments
Post a Comment