Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Binding more Jars in Mono Android (Google Play Services + Google Maps Utility)

$
0
0

Hi,

I have succeeded integrating Google Maps Utility within Eclipse and have a deployable Demo App. (Pure Java project)

I use Visual Studion and Xamarin 4.10

Now I wan't to integrate it into my 'real' App.

My App already make use of Google Play Services (for Google Map and Google+). I make use of the Google Play Services Component released by Xamarin successfully.

Now to my problem: Xamarin does not have an 'Out of the Box solution' for Google Map Utility.

I have tried to bind the the utility library.jar to my project, but it doesn't work as Google Map obviously is wrapped into the Xamarin Component.

What is best solution?

  1. Make 2 java bindings. One for Google Map and one for Google Map Utility
  2. Merge 2 Jars in Eclipse and bind to this (if possible)
  3. Adapting Utility Jar to Xamarin Google Play Service component (preferred solution)

Please help. Would very much like to get Marker Clustering into my Mono android App

Log:

SourceJars: 2> Jars\library.jar 2> ReferenceJars: 2> C:\Program Files (x86)\Java\jdk1.6.0_31\bin\java.exe -jar "C:\Program Files (x86)\MSBuild\Xamarin\Android\jar2xml.jar" --jar=C:\Users\olefa_000\Documents\MapsAndLocationDemo_v2\GoogleMapsUtility\Jars\library.jar --ref=C:\Users\olefa_000\AppData\Local\Android\android-sdk\platforms\android-8\android.jar --out=C:\Users\olefa_000\Documents\MapsAndLocationDemo_v2\GoogleMapsUtility\obj\Debug\api.xml 2> java.lang.NoClassDefFoundError: com/google/android/gms/maps/GoogleMap$OnInfoWindowClickListener 2> at java.lang.ClassLoader.defineClass1(Native Method) 2> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

/OFK


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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