I've changed my code to Test.getNumb(5) but still it crasches when I click,
Testaren exists but without any methods or functions. It seems to be an
empty object without nothing, what am I doing wrong.
With the following code in my Test.html page file:
document.getElementById('body').innerHTML = Testaren;
I'll get the name typed in the body:
com.testar.Totsi.Testar@405bdfb0
And when I try the following, in same file:
var t ="";
for(o in Testaren)
t=t+o+', ';
document.getElementById('body').innerHTML = t;
I'll get nothing, because the object is by some reason empty.
Got an idea?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Trouble-using-the-AddJavascriptInterface-with-a-WebView-tp4939866p4941120.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid