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
Related
We would like to use Agora to develop a chat section in our Xamarin Forms App like this. Chat will also support voice messages, calls and video calls. On Agora's when I look at SDKs available there are various options like Flutter, ReactJS, Windows, Android, iOS and so on but I can't find Xamarin Forms as platform. On the web I found some NUGET packages like this for Xamarin Forms support, they look official but can't verify it. I found an example on github here, but It is for video calls and not RTM.
Please help!
I needed to rebuild my fairly ancient Xamarin Forms app from scratch and in the process arrived at a situation where I had a new working iOS app but had needed to delete the draft Android app and start it again. So as a next step I added a vanilla Android app project out of the box and immediately what I saw was that (in MainActivity) Android.Support, Android.Views and Android.Content were undefined with wiggy red lines beneath -- for example in a reference to Android.Support.V7.Widget.Toolbar.
Trying to solve the problem, I set each of Target Framework, Minimum Android Version and Target Android Version to Android 9.0 Pie (API Level 28). In SDK Manager I checked that Android SDK Location and Java SDK Location were 'Found' and that Android SDK Platform 28 was installed.
The following NuGets came installed along with the project, I deleted them and reinstalled them (removing bin/obj folders in between): Xamarin.Android.Support.Core.Utils, Xamarin.Android.Support.CustomTabs and Xamarin.Android.Support.Design.
I tried installing NuGets Xamarin.Android.Support.v7.*. And I added the Xamarin.Forms NuGet. I tried adding 'use' declarations.
None of this helped.
For comparison I separately installed a blank Android app solution-- it worked perfectly out of the box.
Android is pretty new to me - would be grateful for suggestions on fixing this.
The app has a .NET Standard 2.0 project, an iOS project, the (vanilla) Android project (all three with Xamarin Forms), and a .NET Standard 2.0 library project.
I'm using Visual Studio for Mac V8.5.4 (stable) on MacOS 10.15.3.
I noticed that the content of MainActivity.cs is quite different, depending whether the Android project is created separately or as part of a Xamarin Forms solution. Also the provided NuGets are different. So perhaps what I was trying to do, adding an Android app to an existing XF solution, is simply not allowed.
To fix the problem, I created an empty Xamarin Forms solution with Android and iOS projects, added a further empty library project, then in Finder replaced the content of all the project folders, except the Android one, with the content of the corresponding folders in my working solution (the one with a working iOS app).
Migrating to AndroidX is a good idea though.
I don't know if this will help, but you should migrate to AndroidX as soon as possible, nevertheless. Xamarin has migrated to them, starting from Forms 4.5
Here is some more information about the libraries - Introducing AndroidX for Xamarin
There is a special NuGet package for the migration - Xamarin.AndroidX.Migration. Also available is a built-in functionality in Visual Studio - here
What I can suggest is you try to migrate to AndroidX libraries, since the old support libraries won't be supported from now on, and you will surely encounter some issues if not like this one, then something else will pop-up in the future.
I need to connect google drive with my xamarin forms application.
I have tried this code==>https://xamarindev.blog/2017/03/22/google-drive-api-with-xamarin-forms/
I take a reference project from github through this link https://github.com/Dineshbala1/GoogleDriveAPI-XamarinForms
In the above link the code is related to "Shared Project" and I'm work with xamarin forms ".Net standard".
So please guide me, how could I apply google drive API in my xamarin forms project?
Ask me if anybody need further clarification.
You must know that Xamarin Components are no longer supported in Visual Studio, and should be replaced by NuGet packages.
You can follow the instructions to manually remove component references from your projects from this documentation.
For more info using Xamarin forms:
Xamarin Documentation
Xamarin.Google.Drive.Api.Android 1.2.12
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.
we are wondering if it is possible to use the HERE SDK with Xamarin for iOS Project? Has anyone used HERE SDK in Xamarin so far?
In general Xamarin Bindings are not supported by HERE Mobile SDK.