Re: [mono-android] JavaScript Interface

2011-09-15 Thread Jonathan Pryor
On Sep 15, 2011, at 3:44 AM, Maik wrote: > I would be interessted in a quick fix for this. Could you please post a > sample Java file? You can see the GoogleMaps sample, which has a .java file included in the build: https://github.com/xamarin/monodroid-samples/tree/master/GoogleMaps > C

Re: [mono-android] JavaScript Interface

2011-09-15 Thread Maik
Jonathan Pryor writes: > > On Aug 12, 2011, at 8:56 AM, malexandroni wrote: > > I tried the JS interface in Java and it works fine, but I tried to replicate the code in Mono for Android and it > does not work. What am I doing wrong? > > That won't work at this point in time. > > The problem

Re: [mono-android] JavaScript Interface

2011-08-12 Thread Jonathan Pryor
On Aug 12, 2011, at 8:56 AM, malexandroni wrote: > I tried the JS interface in Java and it works fine, but I tried to replicate > the code in Mono for Android and it does not work. What am I doing wrong? That won't work at this point in time. :-( The problem is reflection: in order for the JavaS

[mono-android] JavaScript Interface

2011-08-12 Thread malexandroni
Hi, I tried the JS interface in Java and it works fine, but I tried to replicate the code in Mono for Android and it does not work. What am I doing wrong? public class Activity1 : Activity { WebView appView; protected override void OnCreate (Bundle bundle) {