Tuesday, July 28, 2015

Visual Studio Emulator for Android for Apache Cordova

If you are using Visual Studio 2015. Please enable Hyper-V on your machine.  Please download theVisual Studio Emulator for Android for Apache Cordova from https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx .

System requirements for the emulator for Windows Phone 8
BIOS
In the BIOS, the following features must be supported:
  • Hardware-assisted virtualization.
  • Second Level Address Translation (SLAT).
  • Hardware-based Data Execution Prevention (DEP).
RAM
4 GB or more.

Operating system
  • Windows 8
  • 64-bit
  • Pro edition or higher

Monday, July 27, 2015

Setup Visual Studio Apache Cordova

You can build apps using the tools for these devices and platforms:

Android 2.3.3 and later (4.4 provides the best developer experience)
iOS 6, 7, and 8
Windows 8 and 8.1
Windows Phone 8 and 8.1.

Visual Studio Tools for Apache Cordova has been tested for use with Cordova 5.1.1 and 4.3.1.

When you develop apps using Visual Studio Tools for Apache Cordova, Visual Studio provides these benefits:
  1. Easy installation. Manual installation of Cordova involves a lot of work to find, install, and maintain the correct version of all the third-party software required to support native platforms. Our third-party installer handles all of that for you and gets you up and running quickly.
  2. Plugin management. Cordova plugins provide access to native APIs using a JavaScript interface. Support for custom plugins like those that turn a mobile phone into a barcode scanner can help you provide rich experiences within your app. Visual Studio and IntelliSense make it easy to add and work with custom plugins and core plugins as well.
  3. Unified debugging experience. Cross-platform development often requires a different tool for debugging each device, emulator, or simulator. Different tools mean different workflows and lost productivity every time you switch devices. With Visual Studio, you can use the same world-class debugging tools for all deployment targets, including iOS devices and emulators, Android devices and emulators, Windows, and the Apache Ripple emulator.
  4. Write once, deploy everywhere. The common JavaScript and plugin APIs in Cordova make it easy to write an app using a single code base that deploys to all target platforms—iOS, Android, and Windows. Of course, you can always write platform-specific code if and when you need it.
  5. Command line interoperability. Visual Studio solutions directly reflect the file system and are updated in real time; this means that you can use any command line tool.
  6. Multi-Version Cordova support. Visual Studio solutions allow you to easily change to different versions of Cordova in your project.

Tools:

  1. You must also install the remotebuild agent on OSX for iOS support.
  2. Operating system requirements: - Windows 8, Windows 8.1, Windows 10, or Windows Server 2012 R2
  3. Visual Studio 2015

Installation:

  1. Install Visual studio by checking all the tools required for apache Cordova. 
  2. Reboot your computer to make sure everything is installed correctly.
  3. Open Visual Studio, choose Tools, then Extensions and Updates, and then Updates. If there is a Visual Studio update available for Visual Studio Tools for Apache Cordova, install it.