HERE Maps binding with Xamarin

1.7k Views Asked by At

I'm trying to build an app using the HERE Mobile SDK (SDK for Android Premium).

I would like to bind it with Xamarin. But unfortunately there is no guide for this binding, although there was a component in the Xamarin store (which is no longer available, deprecated). There is only a guide for Android-Studio.

I tried to stay as close as possible according to the Android-Studio guide.


What I have done so far:

  1. Create new bindings library Create new bindings library
  2. Add the .JAR-file (in my case only the HERE-sdk.jar (I don't need the gson.jar or the javadoc.jar for testing purpose)) and set the build action to "EmbeddedJar"

Jar-binding

  1. Afterwards I built the project and I got one error, which I solved after researching a bit Error Solution to previous error.

  2. After I solved the previous error, I got 60 new error... enter image description here

I tried to solve them with removing the nodes in the metadata.xml-file, but I think this is not the right solution for this problem...

How do I solve this? I tried to changed the return-types, managedNames and so on (according to this tutorial), but none of this worked.

Also there is someone on the Xamarin-forums, who had the same problem as me, but he couldn't solve it either.

I am not that experienced with the metadata.xml - files. Maybe I misunderstood something.

I would really appreciate some help!

Thank you in advance.

1

There are 1 best solutions below

2
On

Sorry we currently do not support Xamarin. It seems Xamarin has some trouble processing our pro-guarded jars. It was reported to us as well, but at the moment we are not investigating this.