iphone - PhoneGap: It's possible to use only the phonegap.js and it's functions only in a Website (doesn't want an App only a Webpage)? -
It seems that I did not understand correctly how PhoneGap works: I thought of a index .html , include PhoneGap.js as the type of JavaScript in and open the results on iPad / iPhone.
But then, none of the tasks like accelerometer, beep (), vibration () is not working. Is it necessary to prepare an app to work properly?
I have a webpage and I want to include only phonegap functions so that the iPad can detect whether it was shaken or a dragable HTML element < Strong> Is able to do this and this is a better option?
Greetings and Thanks!
Phonegap is a native application wrapper for a variety of different phone platforms. It is required that you use the PhoneGap framework, which is written in the original code for each platform of each platform, whatever you are targeting, and you have the HTML, CSS and JS allow you to leave assets so that you only Children can apply for a phone with technologies
Just Fongapkje.as on a Web site. Which is hosted on a server, will not work, because PhoneGap.JS (native) communicates with the PhoneGap framework code. Phonework for framework code vibration, accelerometer, contact and compass functionality (among other) Works to reach Phonegap.js provides a consistent API in JavaScript just to access the functionality of this basic device.
Comments
Post a Comment