is it possible to launch an application from another with cordova ?

  • 1
  • Question
  • Updated 6 years ago
is it possible to launch an application from another with cordova
I cordova 2.2.0 whether I want to know the method and thank you in advance
Photo of Lahcen Bén

Lahcen Bén

  • 3 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of John Weidner

John Weidner, Champion

  • 435 Posts
  • 80 Reply Likes
For Android, I'd look into one of the WebIntent plugins. The following thread might help some - http://community.phonegap.com/nitobi/...
Photo of Lahcen Bén

Lahcen Bén

  • 3 Posts
  • 0 Reply Likes
I tried several times but nothing new, my problem I am all that I have a button after clicking on this button -> launch Dropbox installed on my android
Photo of John Weidner

John Weidner, Champion

  • 435 Posts
  • 80 Reply Likes
Maybe post some of your code here for others to look at. Post within <code> </code>
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Not sure if it's worth the effort. The OP is using Cordova 2.2!
Photo of Lahcen Bén

Lahcen Bén

  • 3 Posts
  • 0 Reply Likes
is my code jhon :
$('#btn').on( 'click', function () {
alert("---> dropbox installed");
CDV.WEBINTENT.startActivity({
action: CDV.WEBINTENT.ACTION_VIEW,
url: 'geo:0,0?q=' + '???????'},
function() {},
function() {alert('Failed to open URL via Android Intent')};
);
});
Photo of John Weidner

John Weidner, Champion

  • 435 Posts
  • 80 Reply Likes
Your original question mentioned Cordova 2.2. This forum is for PhoneGap Build. The current version is 3.6.3. If you are not using PhoneGap Build you might want to try asking your question at http://groups.google.com/group/phonegap/

What plugin are you using for WebIntent? There are several out there. Maybe you should post your PhoneGap Build config.xml file.

Are you getting an error message?