[android-developers] Re: Webview question - text selection and highlighting

2012-10-17 Thread Leo Kaliazine
Maybe this will be of help: http://stackoverflow.com/questions/6058843/android-how-to-select-texts-from-webview/11952553#11952553 On Friday, October 12, 2012 8:27:29 AM UTC-4, Bijaya wrote: > > hi Mike Jones, > > i ran through your post, i have also working on web view text selection > and highl

Re: [android-developers] Re: Webview question - text selection and highlighting

2012-10-16 Thread Mike Jones
This github project is very similar to what I'm doing in my app: https://github.com/btate/BTAndroidWebViewSelection On Fri, Oct 12, 2012 at 6:27 AM, Bijaya wrote: > hi Mike Jones, > > i ran through your post, i have also working on web view text selection > and highlighting. i am not understand

[android-developers] Re: Webview question - text selection and highlighting

2012-10-16 Thread Bijaya
hi Mike Jones, i ran through your post, i have also working on web view text selection and highlighting. i am not understand how to implement this. i need some idea or sample example. can u please help me. Thank you for your work Bijaya Guin -- You received this message because you are subsc

[android-developers] Re: WebView question

2010-08-04 Thread for android
any one? On Mon, Aug 2, 2010 at 5:51 PM, for android wrote: > I have seen the WebView Demo for JS alerts and the uses.I have not been > able to find out whether we could actually get a result of JS in the > java-code.Anypointers? > > Thanks! > -- You received this message because you are subsc

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-28 Thread Brian
A quick workaround for this in Eclipse, is to set your application's Run Configuration's Launch Action to "Do Nothing". Now when you press the play icon to launch, it seems to just push the apk to the emulator and not launch it. Then you go in and click your app icon, and launch/relaunch behavior

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-28 Thread Brian
Wow reading this first would have saved me a many, many hours. It's not just WebView apps, but can be as simple as Hello,World. I had a pretty complex app with intents in a tabhost that I thought was the problem, whittled down to a simple tabhost app with Intents, down to a tabhost with a view f

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-09 Thread UBZack
Hi Mark, thank you very much for your reply. I have some more findings to report! Turns out it's not just launching it from Eclipse that causes this behavior, but also downloading the apk from the Android web browser, installing it, and tapping the launch button. I set up a basic hello world ap

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-08 Thread Mark Murphy
UBZack wrote: > I did a little poking around and I think I can DEFINITELY shine some > light on this. > > Basically, I think the difference lies in the way Eclipse ports the > apk to the emulator and launches it. > It seems that eclipse ports the app to the emulator in such a way that > each s

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-08 Thread UBZack
I did a little poking around and I think I can DEFINITELY shine some light on this. Basically, I think the difference lies in the way Eclipse ports the apk to the emulator and launches it. I just downloaded GeoWebOne from the AdvAndroid site, created an Eclipse project out of it. No problems co

[android-developers] Re: Webview question: Is it possible to execute Javascript from Java synchronously?

2009-04-06 Thread Mattaku Betsujin
This doesn't make any sense, though. If you're inside in.read(), you should be sleeping, waiting for the network transfer to complete. So the WebKit thread *should* have some time to process your loadUrl() requests . On Mon, Apr 6, 2009 at 1:21 PM, j wrote: > > Mark, > > I have a nastier so

[android-developers] Re: Webview question: Is it possible to execute Javascript from Java synchronously?

2009-04-06 Thread j
Mark, I have a nastier solution: Put inside the while loop: try { Thread.sleep(100); } catch (Exception e) {} It works. On Apr 6, 12:41 pm, Mark Murphy wrote: > j wrote: > > Mark, your suggestion makes sense.  I tried it.  I created a sep

[android-developers] Re: Webview question: Is it possible to execute Javascript from Java synchronously?

2009-04-06 Thread Mark Murphy
j wrote: > Mark, your suggestion makes sense. I tried it. I created a separate > thread for downloading and uses a Handler to loadUrl instead of > calling loadUrl directly. > > But the result is the same. The loadUrl executions get queued up. It > appears the downloading thread seems to have

[android-developers] Re: Webview question: Is it possible to execute Javascript from Java synchronously?

2009-04-06 Thread j
Mark, your suggestion makes sense. I tried it. I created a separate thread for downloading and uses a Handler to loadUrl instead of calling loadUrl directly. But the result is the same. The loadUrl executions get queued up. It appears the downloading thread seems to have priority over the Han

[android-developers] Re: Webview question: Is it possible to execute Javascript from Java synchronously?

2009-04-06 Thread Mark Murphy
j wrote: > I am writing a hybrid web/native app and ran into issue. My app > downloads a music file via Java code, and needs to update a Javascript > download progress bar in the WebView in real time. > > My understanding is the only way to call Javascript from Java is via > the WebView's loadUr

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-03-29 Thread Mark Murphy
j wrote: > I launch my TestWebView activity. After my web page is loaded, I put > the app in the background by pressing the Home key. Then I bring the > TestWebActivity back to the foreground. Unexpectedly, TestWebView's > onCreate() is called when I bring the activity to the foreground. But >