I am learning java this summer, and I am want to create a list that can shows all the installed apps. I saw the youtube tutorial, and now I an in the 40th one. I know how to create a list with some string array. But how can I get the info. about the other apps in the phone? Is there any method could be used?
Thank you so much for your help!
I wanna create an list of the apps that I installed,but where should I start?
Post a Reply
|Oldest Newest Rating|
· June 17, 2014
If you want to add
The above code will do. It will add the installed application names to the string installedApps. If you want the Application name and icon of the installed application use the last two lines.
· June 21, 2014
Thank you so much for your help!!
I try to use the code, but there has some errors.
app cannot be resolved to a variable
pm cannot be resolved
apps cannot be resolved to a variable
I define the app as
does it correct?
Also, what are the pm and apps?
How should I change it?
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|