Go to file
2014-03-23 03:53:40 -07:00
docs upload plugin (phonegap 3.0.0) 2013-09-26 15:42:14 +04:00
src/android Update startApp.java 2014-01-19 07:12:01 -08:00
test delete unwanted files 2013-10-16 11:29:36 +04:00
www delete unwanted files 2013-10-16 11:29:36 +04:00
.fetch.json rebuild 2013-09-26 06:42:32 -07:00
CHANGELOG.md upload plugin (phonegap 3.0.0) 2013-09-26 15:42:14 +04:00
LICENSE upload plugin (phonegap 3.0.0) 2013-09-26 15:42:14 +04:00
plugin.xml upload plugin (phonegap 3.0.0) 2013-09-26 15:42:14 +04:00
README.md Updated README.md 2014-03-23 03:53:40 -07:00

cordova-plugin-startapp

Phonegap 3.. plugin for check or launch other application in android device.

Install: cordova plugin add https://github.com/lampaa/org.apache.cordova.startapp.git

Delete: cordova plugin rm org.apache.cordova.startapp

use:

Check the application is installed

navigator.startApp.check("com.example.hello", function(message) { /* success */
	console.log(message); // => OK
}, 
function(error) { /* error */
	console.log('47', error);
});

Start application without parameters

navigator.startApp.start("com.example.hello", function(message) { /* success */
	console.log(message); // => OK
}, 
function(error) { /* error */
	console.log('47', error);
});

Start application with parameters

navigator.startApp.start([
	'com.teaway.teamenu', // applucation
	'com.teaway.teamenu.MainActivity', // activity
	'product_id', // key
	'102' // value
], function(message) { /* success */
	console.log(message); // => OK
}, 
function(error) { /* error */
	console.log('47', error);
});