I have read that Xamarin.ios uses aot and Xamarin.android uses mono.
I want to know whether this also applies to the Xamarin.forms or only to Xamarin.ios and Xamarin.android?
If the second latter is true then how are Xamarin.forms handled?
Mono is used in all Xamarin Platforms, AOT in Xamarin.iOS is always compulsory because that is Apple's requirement. For Android you can optionally have AOT enable in Xamarin.Android with the cost of slower build time, however it improves the Start up time of the app.
More info: here
Related
I have come to know that Microsoft will not support Xamarin anymore by the end of this year (Nov 2021) in favour of MAUI and .NET MAUI is the next generation of Xamarin Forms as well, so what will happen to Xamarin.Native apps. Will they also be upgraded to MAUI or the change will only have impact on Xamarin Forms, but if it will have on Xamarin Native apps then will we be required to change the complete structure of existing app to the MAUI framework. Please guide in this regard.
Here is an extract of the MS announcement blog post :
As part of our .NET unification, Xamarin.iOS and Xamarin.Android will become part of .NET 6 as .NET for iOS and .NET for Android. Because these bindings are projections of the SDKs shipped from Apple and Google, nothing changes there, however build tooling, target framework monikers, and runtime framework monikers will be updated to match all other .NET 6 workloads. Our commitment to keeping .NET developers up-to-date with the latest mobile SDKs is foundational to .NET MAUI and remains firm. When .NET 6 ships, we expect to ship a final release of Xamarin SDKs in their current form that will be serviced for a year. All modern work will at that time shift to .NET 6.
Your comment on Xamarin support is incorrect. Once MAUI comes out (November 2021), Xamarin will be supported for one full year, that is, until November 2022.
I am using Xamarin iOS and Android for turn-by-turn navigation routing. Can this be done with HERE?
We recommend using android studio. For Xamarin, bindings need to be created in SDK, which are not available in our existing roadmap. Hence you can either create the bindings yourself or using our professional services as SDK libraries need modification in this case. Yes it is available. It can be done.
Please refer the individual documentation for Android and Ios for more details :
Android : https://developer.here.com/documentation/android-premium/dev_guide/topics/map-guidance.html
IOS : https://developer.here.com/documentation/ios-premium/dev_guide/topics/map-guidance.html
I want build and debug a xamarin based "SYSTEM" android application in visual studio. Is it doable?
Yes it is doable, therefore you need this:
Xamarin.Android 7.5 or later
Android Studio 3.x with Java 1.8
More information how to set up the system you can find here.
Here is some basic information from MSDN that you can start with for distributing your Xamarin.Android app as a System app.
It's difficult to provide specifics on this topic because the way you go about doing this can shift dramatically depending on your setup. Even MSDN states that. The article provided though is a great starting point to begin to understand how to go about installing your app as a system app.
Hi newbie on Xamarin Forms.
I am a bit of confuse on using Xamarin forms.
With the following questions, I hope you can help me to understand to use it for development.
Currently I am using VS2015 Community version
1) If I have done the Settings on Cross Platform development to include C#/.Net(Xamarin v4...), do I still need to download the Xamarin at Xamarin.com?
2) Understand Android and iOS have different Api level (Sdk ver) and iOS ver8,9,10 respectively.
So, When google releases new api or Apple releases new iOS ver, How do I update Xamarin to use them? what I need to and How I handle Android and iOS new update respectively? What are the steps to take?
3) If I have Updated Xamarin, is this means it has included all the latest Api for Android and iOS
4) Can I use Xamarin for VS2017 as compare to VS2015 is more matured?
Thanks
You can and should use latest and greatest tools available, unless you have some limitations. Use Visual Studio 2017, it provides an easy installation of Xamarin.
When a new version of platform SDK is released by Google or Apple for example, you will have to:
Download & install new platform SDK for Android / iOS
Update Xamarin.Forms nuget package in the project
Additionally in case of iOS you may need to update Xcode
Xamarin.Forms documentation can answer all of your questions, so I suggest to get familiar with it.
I think you'll need to add some steps.
First - try create Xamarin Forms project and buil it(for Android). If you have errors - please read this manual
You need to check the update in several places.
2.1. About the new version Xamarin you will be informed Visual Studio.
For VS 2015 Check next setting - Service - Parametrs - Update Xamarin(checked).
For VS 2017 - You'll see the checkbox on the top right.
2.2 About update Android Api -You must learn manually. Check in VS
Service - Android - Package manager SDK Android. The new AIPI is a great event in the world of android - but you need to sit behind the news.
2.3 Also packages(Xamarin Forms and other) are updated - you need check nuget packages for your solution.
2.4. You must manual run update Xamarin for your mac. This is an extensive topic. Please read this article.
No is it. You need some manual actions(see item 2).
VS 2017 Has new features and new bugs ). I use VS 2017.
Can we add a Apple Watch extention to a xamarin forms app (cross platform app) ?
I have searched on google and seen info only on xamarin.ios with Apple Watch but not with xamarin forms cross platform.
Yes you can, but you must write this in your platfrom specific project. this means the ui and logic must be written in the native code. If you use a mvvm framework you can share some code across platforms.
http://developer.xamarin.com/guides/ios/watch/