Hi all,

What I want to do is to log whenever user launches my app. So, I
instrumented a logging code(which make a request to the server) into
onCreate() of the base activity, and the server counts the requests.

However, the problem is that the code wasn't called if user press home
key rather than back key.

More specifically,
launch the app -> onCreate() is called -> press home key -> relaunch
the app
=> onCreate() is NOT called.

Is there anyone who know where I need to add my logging code?

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to