开发者

How do you get a list of Applications on an android app?

开发者 https://www.devze.com 2023-02-18 15:14 出处:网络
I am currently creating an application for an android mobile phone using eclipse. I have been trying for awhile but can\'t figure how to get a list of all the current applications installed on the pho

I am currently creating an application for an android mobile phone using eclipse. I have been trying for awhile but can't figure how to get a list of all the current applications installed on the phone on my applica开发者_如何学运维tion. I currently have a database set up on it and a Drop list to populate with the list of applications but can't figure how to get the actual application names themselves? I have looked into different permissions but couldn't find one to do this? Can anybody please help me with this?


Use PackageManager#getInstalledApplications().

0

精彩评论

暂无评论...
验证码 换一张
取 消