You can use the preferences to store an int value and increment it by one every time the onCreate() is executed Simone
On Tue, Apr 6, 2010 at 12:37 PM, lei <[email protected]> wrote: > how to monitor the activities launching in real time, so I can count > how many times it has been launched? ActivityManager somehow can do > the similar work, but it is not on real time. would you help me? (i.e > i had a background service running, it can detect when an activity has > been launched, so it can record how many times this activity has been > launched by user) > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- 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

