My question is, can I use Xamarin to write business logic and compile it as a JAR library and use it in Android Studio ?
Thanks in advance.
You can not do that Xamarin platform just work by c#
form Xamarin Site:
If you are a Java developer, you are well on your way to leveraging
your skills and existing code on the Xamarin platform while reaping
the code reuse benefits of C#. You will find that C# syntax is very
similar to Java syntax, and that both languages provide very similar
features. In addition, you'll discover features unique to C# that will
make your development life easier.
https://developer.xamarin.com/guides/android/advanced_topics/xamarin-for-java/
Related
I am now starting to learn android development.
I made a small app in visual studio using xamarin (C#) and I wanted copy it to android studio so I can also learn a new language and a new IDE.
I currently have a solution (App.sln) under that I have the main project (App.csproj) and also a class library project to hold my classes (App.Model.csproj)
In android studio, do I create a new module and call it com.app.model or do I just create a new package in the main module?
If you are currently using Xamarin Native approach, the porting from C# to Android Java should be quite straight forward because most of the API is still the same name. The difference mostly is just TitleCase in C# but camelCase in Java. Also, you will need to rename Android layout file from *.axml to *.xml.
If you are using Xamarin.Forms approach, then you will not able to port to Java easily because the API is totally different compare to native Android now. Xamarin.Forms is having its own API set that mapped back to individual native platform's API.
Checking out native Android tutorial will help you to understand better. However, why you want to go back to native when you already know about Xamarin. I came from Android native background and I didn't look back into native since I started with Xamarin.
I am familiar with visual studio web developer and know how to create web applications using asp.net , c#.
I also have some knowledge of java but I am more familiar with c#.
Can I develop android apps in visual studio using c# ?
What can be the best tool which will help an android begginer like me with the above skillset. Kindly point out helpful tutorials supporting your suggestions.
Thanks in advance.
Since there are little people using C# to develop Android application, once you got a problem in programming, there may be no solution because no one have ever encounter this problem.
The bug of Android platform will be extended by C# because both Java and C# invoke the native API of Android. What's more, using C# will lead to more bugs due to the language itself.
Java is very similar to C#, it won't cost more than one month for a C# programmer to learn Java and become a skillful Java programmer, and using java to develop Android application is more convince than C#.So, Why not try Java?
YES YOU CAN!
There is a cross platform tool called Xamarin that lets you to build mobile apps with C# and you can deploy at both platforms just by writing one program although these are a few reasons native is better:
The community is much bigger.
Apps that are made with Cross Platform tools don't look that great and it works slower.
The experience is not that pleasant.
Although if you are fine with those reasons go for it!!!
I would like to develop an Android application using VB.Net language under VisualStudio, for this task I heard about Xamarin framework for VisualStudio, but it only seems to install Android projects for C# language.
My needs as the needs of many other programmers are very simple, just as I said I would like to start developing an Android application using VB.Net language under VisualStudio, I hope is there an existing Xamarin workaround or another alternative to accomplish this task, because it is a global demand/requisite.
What can I do?, I'm not planning a transition to C# or moving to another IDE than VisualStudio.
I think recently they added portable libraries for using VB.Net, you can have more information on the Xamarin Developer Guides (http://developer.xamarin.com/guides/cross-platform/application_fundamentals/pcl/portable_visual_basic_net/)
Been reading about C#/Visual Studio and beginning programming. Some of the features, like built in library of methods (.Net) and comment template creation for user created methods (///) seems fantastic. I know of Xcode and Eclipe but is there anything available on Mac like this for creating a variety of apps, i.e. web and windowed?
Thanks
There is Mono Develop which is an IDE for Win/Linux/Mac that primarily lets developers create desktop (C#, VB.NET, C/C++, Vala) or ASP.NET applications.
I personally, however, haven't had much luck getting some of my C# desktop applications to run on linux (Mono 2.10.6) because certain namespaces/classes aren't fully implemented (the ones that come to mind are some System.Net classes related to NetworkInterfaces, and understandably, deployment is not ported to linux).
You can use Mono and MonoDevelop
Mono is a open source implementation of C# and CLR. You can see here how complete is implementation, and quote from that link is:
"The easiest way to describe what Mono currently supports is: Everything in .NET 4.0 except WPF, EntityFramework and WF, limited WCF."
Yes, I know there is MonoDevelop. But what if I want to use Textmate instead?
So my question here is aimed at the .Net developer who has developed some C# applications using Textmate. I'm curious as to what their process/workflow is with this setup.
What is the best C# bundle out there for syntax/language grammar?
How do you build your project? (easy to build app for 2.0, 3.0, and/or 3.5 framework?)
Can you easily start a C# application in Visual Studio, and then continue to use TextMate in it's place?
Are there too many pitfalls here in thinking I could do this, and am I just taking crazy pills?
To be honest I still do my actual C# building through a Virtual Machine running Windows, but I edit anything that I can through Textmate.
I use the ASP.Net VB.Net tmbundle and I actually just discovered a C# tmbundle.
I am planning on switching to building in MonoDevelop if I can, but right now I work with teams that only use Windows so to be safe I'm still stuck building in Visual Studio.
I know this is an old question, but I found it along the way when trying to find a C# bundle for TextMate.
The C# bundle has moved from the macromoates svn repos into github at https://github.com/wintermi/csharp-tmbundle.
Hopefully this helps other people looking for the bundle.