le sigh. The deign is horrible but I will help you.
ok what you need to do is put call backs on your textboxes $(".input").keyup(function (e) { var resp = Android.SomeValidationCallBack($(e.target).val(),$(e.target).attr('name')); var jObj = JSON.parse(resp); //just turned a json object into a javascript object. Oh wait, does Javascript object not.. yeah. this is how you pass complex objects :P }); jon post the fucking thing where I proved you wrong. Stop ego trippin like the losers do. You ain't one. On Mon, Jun 11, 2012 at 7:09 PM, Terry151151 <te...@terry-watts.com> wrote: > I need to be able to type and validate at the same time in a WebView. The > typing accesses either a local Sqlite cache or and online database if > available. > > I can't use loadUrl as it always hides the soft keyboard on every key > stroke. > I also can't use a Javascript interface as it can't take callbacks to the > Javascript ( only takes primitive data types ). > > I'm now having to look at a really messy solution to solve the problem. > ie. Place a request through the Javascript interface and then setup a > polling timer in Javascript and check the result back through the > Javascript > interface. Unfortunately I'll have to set up timers for every input field > that needs to go back to the database, and also find some way to interlock > similar requests on diferent input fields (Yuck). > > Does anybody know of another way to do this? > > Thanks in advance. > Terry. > > > > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/Does-anybody-know-a-way-to-type-and-validate-at-the-same-time-in-a-WebView-tp5710289.html > Sent from the Mono for Android mailing list archive at Nabble.com. > _______________________________________________ > Monodroid mailing list > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid > -- Extreme Knowledge is not something for which he programs a computer but for which his computer is programming him. -Wozniak
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid