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
I cordova 2.2.0 whether I want to know the method and thank you in advance
- 3 Posts
- 0 Reply Likes
Posted 6 years ago
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/...
- 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
John Weidner, Champion
- 435 Posts
- 80 Reply Likes
Maybe post some of your code here for others to look at. Post within <code> </code>
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
- 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')};
);
});
$('#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')};
);
});
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?
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?
Related Categories
-
PhoneGap Framework
- 2926 Conversations
- 61 Followers
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers
-
Programming (Others)
- 1167 Conversations
- 23 Followers


