[. Net programmer's note] the new trend of Microsoft Android and IOS app visual studio 2015 Cordova [1] [original], androidcordova

Source: Internet
Author: User

[. Net programmer's note] the new trend of Microsoft Android and IOS app visual studio 2015 Cordova [1] [original], androidcordova

Since Satya Nadella took office as CEO of Microsoft, it has been a constant of surprises, as if it has aroused hope in the world, especially for our. net programmers. First, the iOS and Android versions of Office were provided for free, and then Nadella quickly appointed a new xbox leader after the failure of the Xbox One release. Phil Spencer took office less than two months after serving as CEO in Nadella, quickly killed the strategy of bundling and selling kinect, and promised to pay more attention to players. A few months later, Microsoft acquired Minecraft for $2.5 billion, which was the first major acquisition by Nadella since serving as CEO, and then a strong build of win10; of course, these messy things are useless for us. What we are most concerned about and what we expect most is. net cross-platform and open-source (of course, open-source still has a long way to go, but I have been a member of Alibaba Cloud for five years. net programmer, I believe MS can stand up from the beginning .)

V blog background

Although Microsoft is already taking a series of measures "self-help" to try to recover MS's dominant position. But this must be a long way. Currently, Android and ios are the most popular. Therefore, we must keep up with the times to understand Android and IOS, but the transformation is too hard, in addition, the huge amount of JDK on Android is also a headache. At this time, VS2015 is coming. Without the trouble of transformation, you can easily crack Android and IOS programs in.

Introduction to vCordova apps

Cordova provides a set of device-related APIs through which mobile apps can use JavaScript to access native device functions, such as cameras and microphones. Cordova also provides a unified set of JavaScript class libraries and native background Code related to the devices used by these class libraries. Cordova supports the following mobile operating systems: iOS, Android, ubuntu phone OS, Blackberry, Windows Phone, Palm WebOS, Bada, and Symbian.

In the Visual Studio November 12, 2014 preview version released by Microsoft in 2015, related tools developed by Cordova have been integrated, and Apache Cordova 4.0.0 is supported. You can easily develop Android, iOS, and Windows Phone applications directly. At the same time, this preview version also integrates the Android Simulator for Android development and debugging.

The demo part of this blog post will also focus on Android. If this blog post is effective or popular, it will be updated later.

V Preparation

First, we need to download a VS2015. Now it seems that only Preview is available. Even so, it can satisfy our needs. If your machine does not have vs2015, you can download it here.

 

V create a project

 

Here we can select the corresponding simulator as needed

 

V is eager to try

Let's take a look at a simple application.

V simulator Introduction

VS2015 does not yet provide the packaging function. Currently, you can only preview the package on the pc. It may be because of the preview version, so packaging is not supported for the moment, or Microsoft wants to build a mobile web app (because of the temporary structure, this app built by js is difficult to implement mobile games), which is unknown. Only after the official version 2015 is available can it be announced. vs2015 allows developers to see ms's confidence and determination in the market! We should also have a reason to believe that ms will become more and more strong in various aspects (including mobile terminals.

We need to run our program on the simulator. Although the packaging function is not provided, the realistic effects of the simulator can also meet our needs (but we still hope that vs2015 will release the official version early) the following describes the simulators, which are mainly divided into two types:

Android Emulator

After running:

Ripple

Ripple simulator Overview

V blog Summary

Although I only wrote the simplest demo here, I am very excited (maybe my notebook is relatively low). Through this simple demo, I can see more than just a demo, instead. net. Strong, my big. net

This is also the last weekend when I have nothing to do at home, and I am still in the exploratory learning stage. Other interesting things are to be studied. If there are other major research efforts in the garden, you are welcome to criticize and correct them.

 


Author:Please call my first brother
Exit: http://www.cnblogs.com/toutou/
About the author: focused on Microsoft platform project development. If you have any questions or suggestions, please kindly advise me!
Copyright Disclaimer: The copyright of this article is shared by the author and the blog site. You are welcome to reprint this article. However, you must keep this statement without the author's consent and provide the original article link clearly on the article page.
We hereby declare that all comments and private messages will be replied immediately. You are also welcome to correct the mistakes and make progress together. Or directly send a private message to me.
Support blogger: If you think the article is helpful to you, click the bottom right corner of the article[Recommended]. Your encouragement is the greatest motivation for the author to stick to originality and continuous writing!

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.