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 .
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.