![]() The showMessageBox function calls the PhoneGap API which displays the messagebox on screen. On the load of the body the init function registers the function showMessageBox on the PhoneGap event deviceready which is triggered when phonegap has done the processing to initialized everything for your program so that it can call the PhoneGap API's. ![]() Includes the phonegap.js file which lets you call native API’s of android. ("Hello World of PhoneGap") ĭocument.addEventListener("deviceready", showMessageBox, true) In the assets/In that folder create a file called index.html with the following code: ![]() Once you run the command and if everything goes correct messages as shown below will be seen:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |