Skip to content

ThiagoNP/cordova-plugin-open-activity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Activity

It helps open a native Activity in Android environment from cordova/hybrid APPs

Installation

cordova plugin add https://github.com/ModinifyTechnologies/cordova-plugin-open-activity.git

Examples

Call from your app:

OpenActivity.open('com.modinify.bnp.FullscreenActivity', function () {
        // Call back OK
      }, 
      function () {
        / Call back ERROR
});

Calling callback inside of your activity

import com.modinify.openactivity.OpenActivity;

    // call call back.....
    CallbackContext callbackContext = OpenActivity.getCallbackContext();

    // calling successs...
    if (isOk)
        callbackContext.success("my parameter here!");
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 81.9%
  • JavaScript 18.1%