Please enable Javascript to correctly display the contents on Dot Net Tricks!
 
Become an Expert in C#, .NET, MVC, JAVA, PHP, AngularJS, Hadoop, Android, iphone, Testing etc.
by Joining our Training Programs and Take Your Career to the Next Level! To know more make a call on +91 98 71 749695

Configuring Visual Studio 2015 to Develop Hybrid Mobile Apps

Posted By : Shailendra Chauhan, 24 Aug 2015
Updated On : 24 Aug 2015
Total Views : 606   
 
Keywords : setup visual studio for mobile apps development, apache cordova setup for visual studio, visual studio for cross platform mobile apps development

Visual Studio 2015 is a great tool to build cross-platform apps for iOS, Android, and Windows devices. Microsoft provides Visual Studio Tools for Apache Cordova to develop cross-platform (hybrid mobile) mobile apps using web technologies such as HTML, CSS, and JavaScript.

Using Visual Studio 2015, you can build cross platform apps for the following devices and platforms:

  1. Android 3.0, 4.0 and 5.0

  2. iOS 6, 7, and 8

  3. Windows 8, 8.1 and 10

  4. Windows Phone 8, 8.1 and 10

Installing Visual Studio Tools for Apache Cordova

To install tools for Apache cordova just run visual studio 2015 setup and select the features as shown in below diagram.

When you will select above features, you will get the the following confirmation screen to install the features. To install these features you have to connect to internet since it will download these Sdks from internet.

Verifying Visual Studio Configuration

To verifiy visual studio configuration, just open it and select option to create a new project. When new project creation wizard will be open, under the template of JavaScript you will find the template for creating apache cordova blank app.

Now create a project for apache cordova and verify the following things.

  1. Verify Cordova Tools installation

    To verify it just navigating to Tools => Options => Tools For Apache Cordova in Visual Studio. Now click on button Run Dependency Checker and you will get the following alert box to say that there is no misconfigured componets.

  2. Verify Emulator installation

    Now verify emulator installation for android, windows and ios. Screen shot for the emulator is shown below.

Note

  1. To install tools for apache cordova make a internet connection

  2. To create and build a project for apache cordova, run visual studio in administrator mode. For more help refer MSDN link

Building & Running Hybrid Mobile App

Now run you application with windows, android and iOS emulator one by one and you will see the following output.

What do you think?

In this article, you have learn how to configure your system for cross platform mobile apps development with visual studio. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.

 
Further Reading
 
About the Author
Hey! I'm Shailendra Chauhan full-time author, consultant & trainer. I have more than 6 years of hand over Microsoft .NET technologies and other web technologies like JavaScript, AngularJS, NodeJS etc. I am an entrepreneur, the founder & chief editor of www.dotnet-tricks.com and www.dotnettricks.com. I am author of most popular e-books for technical Interview on ASP.NET MVC Interview Questions and Answers & AngularJS Interview Questions and Answers & LINQ Interview Questions and Answers.
I have delivered 100+ training sessions to professional world-wide over Microsoft .NET technologies such C#, ASP.NET MVC, WCF, Entity Framework and other mobile technologies such Ionic, PhoneGap, Corodva. Read more...
 
Free Interview Books
 
SUBSCRIBE & FOLLOW US
 
Browse By Category
 
 
Like us on Facebook