PhoneGap
PhoneGap is a technology that gives web applications access to mobile hardware features. It is used for mobile deployment of HTML5 Builder applications, and makes it possible to use mobile hardware components.
Contents
Usage
Go Back
In order to go back in navigation, there is a PhoneGap method you should use:
navigator.app.backHistory();
Exit your Application
You can exit your application at any moment by calling the following method:
navigator.app.exitApp();
Open an External URL
navigator.app.loadUrl('http://example.com');
The navigator.app
might not be available in all systems, so you should consider using window.location
instead:
window.location = 'http://example.com';
Help Resources
Documentation
- Official Documentation:
- Available online here.
- You can access an offline copy from Home > Help > PhoneGap.