1

I have implemented a Java activity that displays a Google map view, and would like to use an existing .NET framework class to that returns locations, from a web service, to display on the map. Is this possible or should I just consume the web service in Java?

Adrian Toman
  • 11,316
  • 5
  • 48
  • 62

1 Answers1

1

You can do this implementing ACW,but i think that it is to difficult and better to use some android framework for this purpose.

Also why you can't implement this activity using managed code?

mironych
  • 2,938
  • 2
  • 28
  • 37
  • The Google Maps API is not part of Mono for Android 1 and can only be included via .jar file. See the *How it works* section of https://github.com/mono/monodroid-samples/tree/master/GoogleMaps. – Adrian Toman Sep 13 '11 at 04:42
  • I know that. Then i dont understand what is your problem? You can create managed Activity with google map view via JNIEnv, and use existing .net framework for locations. – mironych Sep 13 '11 at 08:20
  • My problem is that I didn't know that until just now. – Adrian Toman Sep 13 '11 at 08:29
  • I worked around this issue by pre-loading the locations. By the time got around to resolving this issue Mono for Android supported Google Maps API. I never did try the JNIEnv solution. – Adrian Toman Jan 03 '12 at 00:41