简体   繁体   English

Android:如何从已安装的用户应用程序中创建复选框列表

[英]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.

相关问题 如何获取用户在 Android 设备上安装的应用列表? - How to get the list of apps that have been installed by a user on an Android device? 如何列出另一个应用程序中所有已安装的Android应用程序的权限 - How do you list the permissions for all installed Android Apps from another App 如何获取 Android 设备上已安装应用程序的列表 - How to get a list of installed apps on Android device 如何获取 Android 11 中已安装应用程序的列表 - How to get a list of installed apps in Android 11 如何从即时应用程序中列出已安装的应用程序? - How to list installed apps from instant app? XAMARIN Android 应用程序,如何在 MVVM 中获取已安装应用程序的列表作为服务? - XAMARIN Android App, how do I get a list of installed apps as a service in MVVM? 列出已安装的Android应用 - List out the installed apps android 如何列出仅在Android中的SD卡上安装或运行的应用程序数量? - How to list number of apps installed or running only on the sd card in Android? Android:如何获取使用Internet访问的已安装应用程序列表-PackageManager - Android : How to get the List of Installed apps that use Internet Access - PackageManager Android Studio如何将已安装的应用程序列表打印到listView中 - android studio how to print list of installed apps into a listView
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM