Take the 2-minute tour ×

Does anyone knows how can I open a native android app from a button in phonegap? I'm creating an Activity that opens your phone apps so I need something to open the apps. Thanks!

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Create a plugin, that starts an Intent.

This blog may be a good entry: http://tannerburson.com/blog/2012/05/28/IntentChooser-my-first-PhoneGap-Cordova-plugin/

share|improve this answer

Well if you want to open any native Android app then you'll need to write a plugin to call the apps Intent.

Although if you just want to open the Dialer app you can do:

<button onclick="document.location='tel:'">Phone</button>

and if can specify a phone number as well:

<button onclick="document.location='tel:411'">Phone</button>
share|improve this answer

Your Answer


