Lisa Anne
Lisa Anne

Reputation: 4595

How to determine which Apps are launched most by the user?

I am trying to build a sort of launcher.

I would like to have the possibility to present to the user the apps he uses most.

Is there any way to determine which Apps are launched more often by the user?

I am not aware of any system "counter" that does that, and I have found nothing in the documentation and in SO.

Upvotes: 0

Views: 58

Answers (2)

Franci Penov
Franci Penov

Reputation: 75982

There is no way to get this information from the OS, because of privacy concerns. You can start collecting this information when people install your launcher and start using to launch apps, because you'll know which apps they start, but you have to start with some common list of apps initially, which likely will be useless to your users. You can also import their current home screen from the Launcher (and TouchWiz, and HTC Sense), but that does not scale easily for all possible launchers people might be currently using (Nova, GO Launcher, Facebook Home, and so on).

Upvotes: 1

Eldhose M Babu
Eldhose M Babu

Reputation: 14510

If you are creating an Android launcher, then you are responsible for displaying the android Applications installed and while clicking on the application icon that you listed, you are the one who is opening up the clicked app. So you can keep the count whenever you open a particular app and do accordingly.

Whenever you open an application, just save an open counter against the application package name of the app that you opened.

Upvotes: 1

Related Questions