Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Is it possible to integrate the HERE Maps Android/iOS SDKs into a xam.forms project?

$
0
0

Hi =)

So I believe there are two previous discussions on this:

https://forums.xamarin.com/discussion/43630/xamarin-binding-for-here-maps-problem
https://forums.xamarin.com/discussion/102803/binding-libary-incompatibility-here-maps-sdk

Currently I'm using: SDK Version: 3.11.2.82 (Premium)

The Android SDK comes as an .AAR, after extracting the .JAR, creating a Android binding library, and removing classes throwing errors:

<metadata>
  <remove-node path="/api/package[@name='com.here.android.mpa.pde']/class[@name='PlatformDataItem']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.pde']/class[@name='PlatformDataItemCollection']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.pde']/class[@name='PlatformDataResult']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.search']/class[@name='DiscoveryRequest']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.search']/class[@name='TextSuggestionRequest']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.search']/class[@name='TextAutoSuggestionRequest']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.search']/class[@name='GeocodeRequest']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.search']/class[@name='GeocodeRequest2']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.search']/class[@name='ImageMedia']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.search']/class[@name='PlaceRequest']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.mapping']/class[@name='MapOffScreenRenderer']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.streetlevel']/class[@name='StreetLevelModel']" />
  <remove-node path="/api/package[@name='com.here.android.mpa.streetlevel']/class[@name='StreetLevelOffScreenCapture']" />
  <remove-node path="/api/package[@name='com.here.odnp.util']/class[@name='OdnpIOUtils']" />
  <remove-node path="/api/package[@name='com.here.odnp.util']/class[@name='AlarmTimer']" />
  <remove-node path="/api/package[@name='com.here.odnp.util']/class[@name='AssetCopyTask']" />
  <remove-node path="/api/package[@name='com.here.odnp.wifi']/class[@name='WifiFilterRx']" />
  <remove-node path="/api/package[@name='com.here.odnp.wifi']/class[@name='WifiFilterTimestamp']" />
  <remove-node path="/api/package[@name='com.here.odnp.posclient.pos']/class[@name='PositioningSession']" />
  <remove-node path="/api/package[@name='com.here.services.playback.internal.util']/class[@name='PlaybackReader']" />
  <remove-node path="/api/package[@name='com.here.services.radiomap.internal.util']/class[@name='IRadioMapManager']" />
  <remove-node path="/api/package[@name='com.here.services.radiomap.internal.util']/class[@name='RadioMapManager']" />
  <remove-node path="/api/package[@name='com.here.services.radiomap.internal']/class[@name='IRadioMapManager']" />
  <remove-node path="/api/package[@name='com.here.services.radiomap.internal']/class[@name='RadioMapManager']" />
  <remove-node path="/api/package[@name='com.nokia.maps']/class[@name='StringNativeMap']" />
  <remove-node path="/api/package[@name='com.nokia.maps']/class[@name='StringNativeVector']" />
  <remove-node path="/api/package[@name='com.nokia.maps']/class[@name='NavigationManagerImpl']" />
  <remove-node path="/api/package[@name='com.nokia.maps']/class[@name='StringNativeVector']" />
  <remove-node path="/api/package[@name='com.nokia.maps']/class[@name='MapImpl']" />
  <remove-node path="/api/package[@name='com.here.sdk.analytics']/class[@name='HEREAnalytics']" />
</metadata>

I got my dll, but have a very good feeling it won't work =)

The iOS SDK comes as a NMAKit.framework, is there even a remote chance of finding a way to reference this in Xamarin?

Has anyone had any recent success with implementing HERE Maps in Xamarin?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>