VS2015 Apache Cordova First Android and iOS app

Source: Internet
Author: User

Objective

My personal blog original link address is http://aehyok.com/Blog/Detail/75.html.

Http://www.cnblogs.com/aehyok/p/4098566.html This is the last weekend at home to study how to install the VS2015.

Seeing this picture represents my VS2015 cross-platform Moblie development tool was installed successfully.

After the installation was successful last week, I wanted to see the fun of cross-platform development, but I couldn't find the right entrance. This week again, adjusting supervised a little bit. The results found an entrance. So write a Hello world and share it with everyone. Let's take a look at the protagonist, that's Apache Cordova.

Apache Cordova is a set of device APIs that allow mobile app developers to use JavaScript to access the capabilities of local devices, such as cameras and accelerometers. It can be used in conjunction with UI frameworks such as jquery Mobile or Dojo Mobile or Sencha Touch, which can be used to develop smartphone apps using HTML, CSS, and JavaScript.

When using the Cordova API, the application can be built without local code (such as Java or Object C), using Web technology.

Because these JavaScript APIs are consistent across multiple device platforms and are created based on web standards, porting the application is convenient and basically doesn't change.

Apps that use Cordova are packaged into applications using the Platform SDK and can be downloaded and installed from the App Store for each device.

Cordova provides a unified set of JavaScript libraries for calls that support iOS, Android, Blackberry, Windows Phone, Palm WebOS, Bada, and Symbian.

If you want to develop a mobile app with Cordova, look at its documentation first. The documentation contains the Getting Started Guide, JavaScript API Reference, example program, Cordova upgrade, how to write your own Cordova plugin, and more.

Hello World

From the simple introduction above, you can see that it is mainly based on JavaScript.

1. Create a new project and find the template

2. View project Structure

3. View Simulator

It seems that WP simulator to be in the Win8 version can be run. Let's take a look at Android and iOS.

Android IOS

4. Find home page Write Hello World

5. Operation Effect of Android simulator

6. iOS simulator

7, this would like to create an apk on the real machine to try, no material may be the reason for the preview version of it.

Summarize

Hello World was created, still some excited, Microsoft This step is really good, a code, multiple platforms at random release, really great satisfaction, next is waiting time and developers to verify. But still have to wait for the official version of the more reliable, preview version may be some bugs make me very uncomfortable.

Personal website Address: aehyok.com

QQ Technology Group Number: 206058845, Verification code: Aehyok

This article links to: http://www.cnblogs.com/aehyok/p/3946286.html

Thank you for your reading, if you are interested in the content of my blog, it is advisable to point a recommendation, thank you for supporting:-O.

VS2015 Apache Cordova First Android and iOS app

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.