This could be possible using the JavaInterface method. But I don't want to change the backend. Is it possible to write a javascript method in Android and load that in using loadURL()?
Or include the .js file within the Android project and make reference to it? Regards, Perumal On Mar 19, 10:03 pm, perumal316 <perumal...@gmail.com> wrote: > Hi Murphy, > > Where should I have the javascript method which I want to execute or > load using loadURL()? > It should be within the Android application? > > Regards, > Perumal > On Mar 17, 11:57 am, Mark Murphy <mmur...@commonsware.com> wrote: > > > > > > > > > On Thu, Mar 17, 2011 at 11:26 AM, perumal316 <perumal...@gmail.com> wrote: > > > What I trying is to insert keystrokes into a WebView which will load a > > > URL. > > > Note that WebView and TextView are different widgets. You originally > > asked about TextView. TextView is not WebView. > > > > In the webpage there will be data field in which i want to copy/ > > > paste some data there. How do I go about doing this? > > > I'd use Javascript. Call loadUrl("javascript:..."), where ... is some > > Javascript code that adjusts the contents of the field. > > > > Can KeyEvent work > > > in such a scenario? > > > I have no idea. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > Android Training in Oslo:http://bit.ly/fjBo24 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en