106 XDK: Create Cordova Demo App
This tutorial demonstrates the steps to create a Cordova Demo App.
With this Cordova Demo App, you would be able to see how Cordova works with the Mobile Device.
This tutorial uses Intel XDK version 3759.
1) Create a new project
Select Samples and Demos.
Select General.
Select Hello, Cordova.
Click Continue.
2) Specify Project Name and Location
Click Create.
Make sure you have an Internet connection.
In case you get a wizard guide option, tick Don’t show this again and click No Thanks button.
|
Optionally, you may choose not to optimize with crosswalk (resulting with smaller package file size but having a risk of not compatible with various versions of android)
|
3) Simulate
Bear in mind that you cannot test Cordova functionality in the simulator.
You need to Build and Deploy into a real device.
4) Build
If you have not configured the Build Requirement, read the steps in http://xdk-steps.blogspot.my/2016/12/104-xdk-how-to-build-cordova-for-android.html .
Otherwise, select the target platform and click Build.
Wait for the process to complete.
Deploy to your mobile device and check that all functions work.
No comments:
Post a Comment