Re: [android-developers] WebView & JavaScript

2011-07-26 Thread TreKing
On Thu, Jul 21, 2011 at 8:28 PM, Raj wrote: > I have a webview which loads a url. That page has some javascript functions > that I want to call which return JSON data. What is the best way to do this? > Have you read through the web app documentation? ---

[android-developers] WebView & JavaScript

2011-07-25 Thread Raj
I have a webview which loads a url. That page has some javascript functions that I want to call which return JSON data. What is the best way to do this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

[android-developers] webview javascript injection

2010-09-17 Thread Marco Alexander Schmitz
hi, I'd like to call a JavaScript function out of Java. Well, the following source code works fine for me (http:// whyandroid.com/android/206-using-webviews.html): /** * This is not called on the UI thread. Post a runnable to invoke * loadUrl on the UI thread. */ public void c

[android-developers] webview javascript call from ajax resp java func

2009-09-20 Thread rooster 808
I've added a java function which I'm successfully calling from the webkit javascript. However, if I make an ajax call and reload some data, and then call that same java method nothing happens. No error, method just isn't called. Should that work Thanks --~--~-~--~~~--

[android-developers] WebView: Javascript popup alert box not displayed.

2009-02-12 Thread Kumaravel Kandasami
I have simple html that would popup an alert box. Using WebView to display the page... the popup does not display. Any suggestions? HTML Code: alert('Hello World!!!'); Activity code: super.onCreate(savedInstanceState); WebView browser = new WebView(this); browse