105 XDK: Create Cordova Starter App
This tutorial demonstrates the steps to create a Blank Cordova Starter App.
With this Blank Cordova Starter App, you have the basic Cordova codes that can be further customised for your project.
This tutorial uses Intel XDK version 3759.
1) Create a new project
Select Samples and Demos.
Select General.
Select Blank Cordova Starter App.
Click Continue.
2) Specify Project Name and Location
Click Create.
Make sure you have an Internet connection.
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.
5) Deploy
Once installed, your app should be able to respond when you click the button.
No comments:
Post a Comment