- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to use alert method on intel xdk,.,
1) i try use this script but not working on my real device ( only work on emulate and test intel xdk)
intel.xdk.notification.alert("Hammertime!","STOP","Can\'t Touch This");
2) this script also does not work ( only work on emulate and test intel xdk)
navigator.notification.alert(message, alertCallback, [title], [buttonName]);
*note : i have added plugins ( for number 1 --> include plugin --> dialogs (notification) plugin , and for number 2 --> third party plugin --> org.apache.cordova.dialogs )
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For #1, you need to include the Intel XDK notification plugin (on the right side of Plugins section)
For #2, you can include Notification plugin under Standard Cordova Plugins (on the left side of Plugins section), you don't need to include 3rd party.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page