Skip to content

Sample webview app illustrating use of Cordova APIs in a hybrid mobile app. Also shows how to detect the device ready event and detect when running in a browser (not inside Cordova container).

License

Notifications You must be signed in to change notification settings

xmnboy/hello-cordova

Repository files navigation

Hello, Cordova

See LICENSE.md for license terms and conditions.

This sample Cordova app illustrates the use of some common core Cordova APIs and, where possible, the equivalent HTML5 APIs within a hybrid mobile HTML5 app. This app has been built, installed and run on Android, Crosswalk for Android, iOS and Windows 8 devices. It may run on other Cordova platforms, but has not been thoroughly tested on those other platforms.

A detailed "how to debug" using the Intel XDK and this app is provided in an included tutorial. Please read the included tutorial for an introduction to this sample app and how to debug Cordova apps with the Intel XDK. The tutorial is based on the old "Emulate" tab, but much of it still applies to the current "Simulate" tab.

NOTES:

For details regarding the included .gitignore file, please see the official git doc pages and, specifically, the .gitignore reference page. This .gitignore file can be used as a starting point for your own Intel XDK projects. The Intel XDK blank templates and most of the Intel XDK samples include a default .gitignore file for your project. You are welcome to modify it to meet the needs of your project, if you are using git.

The .jscodehints file is used by built-in Brackets editor to exclude files and directories from code hint scanning. This is helpful to speed up the built-in editor, especially if your project contains a large number of files that are not part of your source or are not important for code hinting while using the built-in editor.

The intelxdk.config.additions.xml file contains additional configuration options that can be used to control the Cordova build options beyond those which can be done using the Intel XDK graphical user interface (GUI) on the Projects tab (in the Build Settings section). In addition, it includes an alternate example of how you can include icons and splash screens in your project; especially when including icons that are not yet part of the Intel XDK GUI. See Adding Intel XDK Cordova Build Options Using the Additions File for details.

About

Sample webview app illustrating use of Cordova APIs in a hybrid mobile app. Also shows how to detect the device ready event and detect when running in a browser (not inside Cordova container).

Resources

License

Stars

Watchers

Forks

Packages

No packages published