[mono-android] Googlemap sample and Java -> MDr interop

Yann Schwartz abolibibelot at gmail.com
Sat Mar 19 16:25:54 EDT 2011


Hello everyone,

I tried the latest monodroid GoogleMaps sample and it kinda worked (getting
the API key to work was tricky but it's OK now). That's great.

Now I'd like to play with this MapView, passing OverlayItems, roughly
following the sample in
http://developer.android.com/guide/tutorials/views/hello-mapview.html

I could write everything in Java *shudder* or have a nicely populated
ArrayList<OverlayItem> sent from a .NET class instance (or from a static
member of a .NET class, I'm not being difficult here) where the grunt work
will be done.

So JNI is the way to go when you want to call Java from Monodroid. But how
do I get access to the monodroid Java proxies so I can call .NET instances
*from* java code?

Thank you for your answer (even if it crushes my hopes) and thank you for
this great framework...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110319/857af1ad/attachment.html 


More information about the Monodroid mailing list