Adarsh Gowda K R
Adarsh Gowda K R

Reputation: 951

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?

Upvotes: 4

Views: 4879

Answers (3)

Nick Denry
Nick Denry

Reputation: 81

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

Upvotes: 0

Farzad Yousefzadeh
Farzad Yousefzadeh

Reputation: 2561

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.

Upvotes: 2

Deep Mehta
Deep Mehta

Reputation: 1280

Hi Adarsh you can check this plugin and this plugin out to get list of installed apps.

Upvotes: 1

Related Questions