cordova/phonegap




FOSS ASIA                                                              14 Mar 2015


DEMO


NOTIFICATION API
$ cordova plugin add org.apache.cordova.dialogs
$ cordova plugin add org.apache.cordova.vibration

You can access it by

navigator.notification.vibrate(500);
navigator.notification.prompt(
      'Enter Name', // message
       onPrompt, // callback to invoke
       'Prompt Test', // title
        ['Ok', 'Exit'], // buttonLabels
         'Doe, Jane' // defaultText
);




@dolftax

Cordova/Phonegap Application Development

By Jaipradeesh

Cordova/Phonegap Application Development

  • 1,385