VS2015, the first Android and IOS app for Apache Cordova, vs2015cordova

Source: Internet
Author: User

VS2015, the first Android and IOS app for Apache Cordova, vs2015cordova

Preface

The original blog address is http://aehyok.com/blog/detail/75.html.

Bytes.

The figure below shows that my VS2015 cross-platform Moblie development tool has been successfully installed.

After the successful installation last week, I wanted to see the fun of cross-platform development, but I still couldn't find a proper entrance. This week I tried again and found an entry. Let's write a Hello World to share with you. Let's take a look at Apache Cordova.

Apache Cordova is a set of device APIs that allow mobile app developers to use JavaScript to access features of local devices, such as cameras and accelerators. It can be used with UI frameworks (such as jQuery Mobile, Dojo Mobile, or Sencha Touch). These UI frameworks can be used to develop smartphone applications using HTML, CSS, and JavaScript.

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

Because these JavaScript APIs are consistent on multiple device platforms and are created based on Web standards, it is very convenient to port applications without any changes.

Applications using Cordova can be packaged into applications using the platform SDK, which can be downloaded and installed from the App Store of each device.

Cordova provides a unified JavaScript library for calling. It supports iOS, Android, Blackberry, Windows Phone, Palm WebOS, Bada, and Symbian.

If you want to use Cordova to develop a mobile application, first look at its documentation. This document includes the Getting Started Guide, JavaScript API reference, example programs, Cordova upgrade, and how to compile your own Cordova plug-in.

Hello World

Through the simple introduction above, you can find that it is mainly implemented by JavaScript.

1. Create a project and find the template.

 

2. view the project structure

3. view the simulator

It seems that the WP simulator can be run only in Win8 or later versions. Let's take a look at Android and IOS.

Android IOS

4. Go to the homepage and write Hello World

5. Android simulator Running Effect

6. IOS Simulator

7. I wanted to create an apk and try it on the real machine. It may be because of the preview version.

Summary

Hello World was created, and it was still a little excited. Microsoft did a good job in this step. A piece of code and multiple platforms were freely released, which was truly amazing, the next step is to wait for time and developers to verify. However, I still have to wait for the official version to be more reliable. Some bugs in the preview version may make me uncomfortable.

Personal website address: aehyok.com

QQ Technical Group No.: 206058845, verification code: aehyok

Article link: http://www.cnblogs.com/aehyok/p/3946286.html

Thank you for reading this article. If you are interested in the content described in my blog, please make a suggestion. Thank you for your support:-O.

 

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.