Sunday, March 08, 2015

Android apps using Visual Studio? - Part 1

Review this regarding cross-platform app development and Xamarin connection:
http://hodentek.blogspot.com/2014/07/cross-platform-app-development-part-1.html

Review regarding XAMARIN:
http://hodentek.blogspot.com/2014/01/master-c-and-become-universal-coder.html

Now in Visual Studio 2015 CTP6 you have the Android app under New Project in C#. Sorry, not available for VB. Not only you can work with Android but  also with iOS apps in Visual Studio 2015 CTP6. Review this following screen shot:


Andy01

Herein you can write Anroid apps in C# and share your code with iPhone, iPad and other .NET languages.

However, there are no built-in templates but there is a link in the previous window at the bottom which will take you to the templates (if any) on the Internet.

In your search, look for Samples and under samples C#. Filter the results for Android. You will see the following.

Andy02

If you place your cursor on the description of the app you will see there are a lot of XAMARIN related samples. Some are XAMARIN based and the others are based on Apache Cordoba Framework.

However, if you go this way you may have to deep search and you may not find a sample immediately that you could bring in and look at.

I tried with one of them and reached a point where I could not proceed as it needed many more items and allowed me to create only Windows based application.

If you start the other way, starting from scratch which creates a XAMARIN project, then you will have to buy into it (download XAMARIN, install etc.)  if you do not have Xamarin on your computer. Visual Studio seems to depend entirely on Xamarin to proceed forward.
We look at it both ways later.

 

No comments:

DMCA.com Protection Status