You heard it right, this is for all the .NET Developers (other platform also welcome) who have ever wished to build an app using Apache Cordova that targets multiple mobile platforms: Android, iOS, Windows, and Windows Phone.
Disclaimer: All images are copyright to their respective owners.
I am going to show you a very simple mobile application which displays Hello World, using apache Cordova and Visual Studio 2013.
1. Setup the environment by installing the Preview of Visual Studio Tooling Support for Apache Cordova, you can download the CTP from here.
Visual Studio Tools for Apache Cordova
2. Once the installation is complete, run Visual Studio 2013 and create a new project. You need to go to Javascript templates or you can select the Multi device Hybrid App and click OK button. this will give you default project structure
3. For this post I am not going to explain all the files, rather I will go directly to my index.html and change the default text Hello World !!! and we are done.
4. And finally select the desired Emulators and run the program.
And here is the output, that’s it and you are done.
You can double click on config.xml file to customize the Custom and Core properties of your application individually for each platforms.
Hope this makes your life simple Enjoy.
Other helpful link:
http://msopentech.com/blog/2014/05/12/apache-cordova-integrated-visual-studio/
0 comments:
Post a Comment