Visual Studio Home Visual Studio

Favorite Samples & Examples

Updated: 1/16/2017

How to open a Cordova project in VS

The Examples We Like section featurs projects that were not necessarily created in Visual Studio--we just think they're cool. However, because they weren't developed inside VS, you can't just double-click into the project.

To open a non-VS Cordova project inside VS, go to 'File > New Project > Add project from existing code', and follow the import wizard.

Add project from existing code

Or, skip the hassle and VS-ify your project from this handy npm package created by TACO engineer Ricardo Minguez Pablos, Open Cordova Project in Existing Folder. Just install it via npm, and in ocpief into the command prompt at the root of your Cordova folder.

Samples We Made

Angular JS To-Do List

ToDoList in Angular

The Angular JS To-Do List sample is your standard todo list app--so you can add tasks, check them off, and remove them. It features data persistence (both through local storage and through the Azure Mobile Apps plugin) and optionally consumes the Bing Maps service.

We have also written a guide to walk you through building the sample. Feel free to download the sample off Github and play around.

Cordova Plugins Sampler

Cordova Plugins Sampler

The Cordova Plugins Sampler is authored by Cordova expert and longtime Visual Studio engineer Ryan Salva (@ryansalva). Sample this supreme sampling of plugin samples and learn how to use plugins from Battery to Camera to Contacts and more.

Feel free to download the sample off Ryan's Github and play around. Open this project by following the instructions here.

Examples We Like

Star Track by Phonegap

Star Track by Phonegap

Star Track is a Cordova app that allows you to search for songs (tracks), preview a list, and star the tracks in your results. It's built using Framework 7, a jQuery-like JavaScript library. It was created by the Phonegap team and announced on their developer blog April 2016.

Play around with their sample on Github. Open this project by following the instructions here.

Suggest Your Own

Working on something cool, or want to recommend a good find? Let us know.

Did you find this article helpful?


We're sorry to hear that! Feel free to email our team with your question.

Want FASTER answers? Our team monitors a special StackOverflow tag here.