On Jul 27, 2012, at 1:11 PM, NCSoftware <n...@nc-software.com> wrote: > Thanks for the reply. I discovered that adding the line below to my > AssemblyInfo.cs resolves the issue: > > [assembly: UsesLibrary(Name="com.google.android.maps", Required=false)]
Nice to know. I hadn't thought of that... > Now I just need a good way to test for the Google API availability on the > device so I can properly detect availability vs. just blocking Kindle Fire > and NOOK use of the feature as something new could come along that doesn’t > have it and I show the feature and problems arise. You need to cause some maps code to execute, which will result in an exception (as the type won't be found), then catch the exception. An untested example: static bool IsGoogleMapsSupported () { try { var _ = Android.GoogleMaps.MapView.ReticleDrawMode.Values(); return true; } catch (Exception e) { // or catch Java.Lang.NoClassDefFoundError? return false; } } - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid