Develop for android with Visual studio - android

I just got an android phone and now I want to make an application for it in Visual studio. Is this possible?
I found a topic about it earlier but that topic was from 2010 might be that it's possible now?

Native android applications are written in java and associated textual files. Visual studio is certainly capable of editing these, and with some setup work launching the appropriate build tools or an ant script. But it's probably not particularly well suited to such work.
As other have mentioned, there are some alternative development languages/paths that may be a more natural fit for visual studio, but are a less natural fit (less native and/or less supported) for running on the android device - though the results may be sufficient for a given purpose.

If you develop HTML5 and then use PhoneGap, it should be possible. There is also a mono port (.NET) to Android you can use to develop in .NET and then port over.

Yes, you can use this:
Mono for android
Not sure it is a good idea though.

If you're comfortable with C/C++, you can develop for Android with Visual Studio 2010. Using vs-android:
http://code.google.com/p/vs-android/

Related

Rad studio or android studio

I'm going to learn a to develop android apps ( I'm web developer right now ) but I'm confused about the Ide which I should start with.
I know android studio is suggested IDE for android development by google. On the other hand, the embarcadero claims that by their IDE you can develop your app for android, IOS, Win10, and mac which sounds really tempting. can any one clarify the pros and cons of each IDE?
I use Delphi for application development mainly because my application run on windows, android and ios with same code. If your aim is to target multiple platforms without additional work Delphi is a good choice. Another advantage of using Delphi is it is a Rapid Application Developmet tool that means less time developing.
Just try both of them. A list of things like: better refactor tools, elegant UI, performance, and etc needed to be consider to choose which to use. It was USELESS if you don't download and try them, they sure have different pros and cons. BTW I'll recommend Android Studio since I used it from start and have not encounters any big trouble yet, it get frequent updates too. And recently I've heard about Appcelerator Studio which seem like a great IDE tool, but it was not free.
You can look into the prospect of using IBM Mobile First platform for developing native as well hybrid apps. End to end tutorials could be found here https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/all-tutorials/

android - Develop apps using Visual Basic

is it possible to develop android apps using Visual Basic? if yes, how?
i have been working with it for a while and eclipse is quite difficult to use. i'd seriously prefer using VS
MSDN has a fairly useful library article about cross-platform development in Visual Studio with links on how to install and use the Xamarin or Apache Cordova tools.
Xamarin seems to only support C#, but maybe you could look at using a tool such as ILSpy to decompile a binary created from VB into C#
It is possible to develop android apps using VB.Net and Xamarin.Forms.
Xamarin allows you to develop cross platform apps using .Net framework - however, Xamarin users in most cases use C#.
Source - Xamarin.Forms using Visual Basic.Net
Another way would be using ionic framework, cordova or phonegap (pretty much the same, with different GUI's).
You will code the app in JS, HTML and CSS and can compile it as native app for iOs, Android and other devices.
You can read more here
It would be possible yes, but I'd recommend you to take a look at Android Studio.
It's a very nice IDE using Java to develop android applications.
You can also use Intel XDK. Very easy to use and flexible in choosing a framework, like Ionic or Jquery Mobile.
Yes, you can develop Android apps using Visual Basic. Look at the product called "B4A" (Basic4Android) by Anywhere Software.
It's basically like developing in VB6 for Android, and has built-in visual designers and emulation connectivity. You write all code in BASIC and it compiles down to native Java and APK files. No special frameworks or runtimes are required. Unlimited in its capabilities due to its ability to use Java code in modules (if desired), it's a truly amazing product. it's also as popular as ever. 100% of the code you write will be in BASIC - NO JAVA, C#, or anything else). If you ever want to know where all the VB developers went, now you know.
You're welcome. :-)

Iphone and Android mobile development - Getting started

I'm a web developer in ASP.NET, C# and looking to start some mobile development. I'm aware Apple uses Objective C and Android uses Java, is there a way to create an app for both platforms or do I need to buy a Mac and some books on objective c and Java?
Thanks
You can use http://phonegap.com/ or http://www.appcelerator.com/platform to write cross-platform apps.
Rumour has it that Delphi XE3 (Due to come out soon) can be compiled onto Apple, Android, Windows 8 etc.etc. so if you can hold out a little longer that should be good!
For now, you are better using a mac (with XCode) to program for IOS or OSX as Apple is very particular and you need certificates for devices, projects, development and distribution etc.etc.etc.
Android i believe you have a bit more play with, but at the moment it is 2 seperate languages. Check out the DEV centres:
https://developer.apple.com
developer.android.com/
There are ways to create apps for both platforms, especially if you know web technologies : PhoneGap and others.
But like specified in the doc, you will most probably need an actual mac if you want to build to iOS
Although there are workarounds
You could use PhoneGap or Appcelerator. Haven't tried them myself, though. But with those tools you could build for both Android and iOS.
Since you are a .Net, C# developer, i recommend you to use Mono for Android, it comes with cost but will save you time and easy to deploy
http://xamarin.com/monoforandroid
The best way to be truly cross-platform is to develop for the web. I would include this in your consideration of development strategies, in addition to PhoneGap and Titanium, as Peter mentioned. You do not have as much access to core OS features, but that is improving all the time (see http://mobilehtml5.org/). Whether or not this is feasible depends on what you are trying to accomplish.

iOS and Android development on Windows

I'm facing a dilemma: I have a solid ASP.NET development experience in C# and looking to start mobile development. I have done research and know that there are some hacks for getting a development environment for iOS on windows, and recently after Apple lifted ban on 3rd party dev apps, Adobe Flash CS5 can be used to package iOS apps. I do have some prior experience with Flash and AS2.
So my question is: should i use Flash CS5 for iOS and MonoDroid for Android or should i just get Mac and learn Objective C for iOS and learn Java for Android? What would be the most practical solution?
Thank you in advance
EDIT: In the end, after trying out both Java Development in Eclipse against Android SDK and Mono for Android, I decided it's best to write Android apps in native environment. Eclipse FTW! As for iOS, I think it will also be best to use native Mac tools and Objective C.
While there are ways to get around using Objective-C for iOS development, I'm going to recommend that you learn it anyway. You need a Mac to deploy anyway, you might as well use it to develop as well.
Objective-C is bloody bizarre when you first start using it, with its strange square brackets and odd ways of doing things. However, once you've spent some time writing code in it, a change happens in your brainmeats and you suddenly realize that this is really an elegant way to work. Xcode is also quite an excellent IDE.
You can start with the iPhone Applications Programming lessons on iTunesU from Stanford. It's free, and covers what you'll need to know pretty throughly.
Worst case, you've learned a new language, and how Apple thinks iPhone apps should be developed. Even if you ultimately use something else, that understanding will help you out long term.
Take a look at monotouch & MonoDroid (Coming Soon), it still requires a mac. But you can open your solutions in VS2010 and use resharper, and just use the Mac for deploying and building. Take a look at this Here to open monodevelop solutions in Visual Studio.
http://monotouch.net
For Android, I would recommend learning Java. I just started working with Android in Java on my Windows machine after developing some ASP.NET sites. I'm familiar with Java, but the syntax is so similar to C# that it's very easy to understand and pick up. So far it is more difficult figuring out and remembering the details of the architecture of mobile applications as opposed to the language. It also helps that there are a number of good books and online resources for converting from C# to Java and vice versa.
Update: I found a good post over on programmers.stackexchange.com that talks about C# vs. Java for Android development with good discussion on the pros and cons of switching: https://softwareengineering.stackexchange.com/questions/33076/as-a-c-developer-would-you-learn-java-to-develop-for-android-or-use-monodroid-i
#Dimitri I was almost your identical skill set when iOS 2.0 was released. I decided to try and learn Objective-C and now its my language of choice. Its a bit different to start with but most of the changes are simple to learn. Whether you are programming for iOS using Objective-C or something like Monotouch either way you have to learn the frameworks. If you use Monotouch you will never be able to be on the bleeding edge of the iOS enhancements. Using Objective-C you will be able to use the latest beta APIs and ensure your apps work right. You will need a Mac to deploy to the App store so just bite the bullet and get a Mac. Get a MacBook Air 13"
I went the route of Monotouch for iOS and Java for the Android. Unfortunately, Monotouch still requires a Mac. I am currently participating in the MonoDroid beta, which looks pretty promising too. It's all a matter of taste. I should also note that, for the most part, HTML/Javascript is a nice way to get portable apps in some circumstances. I would expect HTML5 apps to become even more viable as tooling improves.
I choose to use the Mono, MonoTouch and Mono for Android technology stack from Novell. When coupled with a micro framework like MonoCross (open source in Google code) it helps me write applications for both iPhone and Android devices while leveraging a shared code base for much of it. I would highly suggest the same route, it has allowed me to implement numerous solutions for small businesses and enterprise customers alike.
I didn't have the ASP .NET experience like you, but I was a Pocket PC/Windows CE developer so C# and the .NET Framework were also my strongest tools when I started on journey towards Mono many moons ago.
You can do iOS,Android and Windows using Xamarin.
Android and Windows can be done easily but doing iOS on Windows was tough so far like networked mac is required for debug and development but things have changed now.
Microsoft has introduced Xamarin Live Player using which you can debug,develop and deploy the app completely in windows without the help of any Apple system but to sign and release the app to appstore you will need Apple System though

Android development toolkits

Was wondering if anyone knew of some third party android development toolkits.
I have found Basic4Android.
Was wondering what other options are available.Language does not matter.
Thanks
Qt for Android (Alpha version) got launched last week.
Motorola has a custom dev environment built on top of eclipse (MOTODEV). It is not Motorola specific and you can use it for regular development. I have been playing around with it for a week and it is much more convenient than the standard Android Eclipse plugin.
EDIT: Forgot to mention there is AppInventor (currently in Beta) which is a drag and drop development environment from Google. It is a useful tool if you want to get a feel for development or you are developing just for your phone. It does not generate Java code (as yet) and there some restrictions on it like only single screen apps are supported. It has got a healthy community and lot of college students (in the U.S) seem to be using it.
MonoDroid is also another development stack for Android using C# and .NET API's. You can use Microsoft Visual Studio IDE to develop applications using MonoDroid.

Categories

Resources