Hi, Some guys was talking yesterday or the day before about getting CPU usage of running processes on a question about how to control battery use by apps that cannot be done directly. Make some search on the forum, I think it may be useful for you.
Best regards, On 26/06/12 14:04, Narendra Singh Rathore wrote: > Hi all, > > I want to know if it is possible to detect an application launch, through > its package name. > > Suppose, I have created a test app, in which I want to get some information > about a specific app, > For eg. Contact app of the device....like how many times it has opened or > closed, in a specific amount of time. > > I want to store the information (say, in database) when that app has just > been launched (of course, on the same instant). > I want all that by providing package name of that application. > > Is all what I want possible? > If yes, how to do that? > > I guess, I need to use BroadcastReceiver for this. What do you say? > > > Thanks n Regards, > NSR > -- 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

