Skip to content

kapetan/cordova-plugin-android-intent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-android-intent

Cordova plugin for sending Android intents.

cordova plugin add cordova-plugin-android-intent

Usage

Create and send an intent using the exposed constructor. Additional details can be found here.

cordova.plugins.Intent({
  action: 'android.intent.action.VIEW',
  data: 'file:///sdcard/Download/example.pdf',
  type: 'application/pdf',
  categories: [
    'android.intent.category.ALTERNATIVE'
  ],
  flags: {
    'ACTIVITY_NO_HISTORY': true
  }
}, function (err) {
  console.log('done')
})

About

Cordova plugin for sending Android intents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published