[英]Android: how to do a checkbox list from installed user apps
i'm very new to android development... i'm still on leaning phase... 我对android开发非常陌生...我仍处于学习阶段...
and it seems like a very big forest for me... 对我来说好像一片大森林
there's is something specific i want to make... 我想做些特定的事情...
i want to create an app that will list(checkbox) all the installed user apps... 我想创建一个应用程序,该应用程序将列出(复选框)所有已安装的用户应用程序...
and i want each app will appear with the logo on the left side of the app name... and the checkbox will be on right and the list will extend vertically... 我希望每个应用程序都将在应用程序名称的左侧显示徽标...并且复选框将在右侧,列表将垂直扩展...
so the User can check any app on the list... 因此用户可以检查列表中的任何应用...
but I certainly don't know where to start Y_Y 但我当然不知道从哪里开始Y_Y
First read about PackageManager. 首先了解PackageManager。
http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstalledApplications%28int%29 http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstalledApplications%28int%29
This will give you a list of installed android apps. 这将为您提供已安装的android应用列表。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.