Skip to content

ahmadaghazadeh/sevensky-cordova-plugin-intent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sevensky-cordova-plugin-startactivity

Cordova plugin startActivity for android devices

Feature :

  • StartActivity
  • PutExtra string format

Install :

cordova plugin add sevensky-cordova-plugin-intent

Usage :

    document.getElementById("btn_device_name").addEventListener("click", purchase);

    function purchase() {
        var obj = new Object();
        obj.name = "Ahmad";
        obj.family = "Aghazadeh";
        intentPlugin.startActivity("com.xomorod.fastbook", "PurchaseActivity", JSON.stringify(obj));
    }