John
John

Reputation: 89

Creating an app that will display what apps you currently have installed

My question is pretty simple. I have created several apps that tell me what sensors I have and also to display the data, Accelerometer, GPS, etc... One thing I am trying to do is to create an app that will display what apps my phone currently has on it. I looked around online but have not come up with any way to do this. Is this a permission issue? anyway to do this? Thanks for your help.

Upvotes: 0

Views: 36

Answers (2)

Alex Lockwood
Alex Lockwood

Reputation: 83303

I implemented a sample application a while ago that displays a list of currently installed applications. It uses getInstalledApplications() as Commonsware suggests. You can find a link to the application's source code in this blog post.

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1006584

anyway to do this?

Use PackageManager, and methods like getInstalledApplications().

Upvotes: 0

Related Questions