简体   繁体   中英

Using cordova how can i get list of installed apps on android device?

Any cordova pulgin ? What all things i need to import in .java file for getting installed apps on android?

I know it's late to answer the question, but I faced the same problem and tested both plugins Deep Mehta referred to in his answer. unfortunately none of them worked. The problem was when testing on devices that use company's custom UI such as HUAWEI, plugins he referred to were only returning the launcher itself!!

After more digging I finally found a nice plugin which works like a charm!The plugin is called cordova-plugin-appavailability and is available at https://github.com/ohh2ahh/AppAvailability .

嗨,Adarsh你可以检查这个插件和这个插件 ,以获取已安装的应用程序列表。

Try cordova-plugin-intent-list plugin. It returns applications list with Base64 encoded icons. Also you can get Intent label and package name (ie to start app with this plugin).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM