Recently, the company project manager asked to use Cordova to write Android program, before the Cordova what do not understand, and then search from the Internet, ah search, at least some understanding, feel that do web development is more appropriate, belong to the three development model of the Third kind.
MYECLIPSE2015 has an advantage is the integration of PHONEGAP development, can directly create PhoneGap project, but from the internet search for half a day. Didn't find how to go on. There is the creation of the project, and then build the project, but how to develop in the middle did not say. Talk less, on the flow.
1. New PhoneGap Project
After the project is completed, there will be a phonegap project.
2.build Project
If the SDK is not configured, the path to the SDK is not required
3. Click Finish
After the build is complete, there will be an Android directory under platform. Is the generated Android project file
This PHONEGAP project has been created. You can also click Priview to preview the effect. It's the little phone icon next to the hammer.
4. Import Android Project
Choose Import to import the project, choose the imported Android project
Select the PhoneGap project that you just completed, and you will be actively loading it into the Android project and the referenced Cordova project.
Click Finish to get the PHONEGAP project to be imported as an Android project. can be as normal as the native Android development. Debug with a real machine. Debug and so on.
At first I was thinking. Then if I change the Android project how to return to the PHONEGAP project announcement, do not have to worry about, this changes the Android project, the following PhoneGap project will take the initiative to follow the update, haha. So you can boldly write the Android project, finished. Refreshes the next PhoneGap project. Build a setup package for Android and iOS projects right now.
Pour also omitted to knock various commands on the command form.
Talking about myeclipse2015 doing CORDOVA/PHONEGAP development