Wednesday, December 7, 2011

Re: [android-developers] Rendering the html file content in Webview

On Wed, Dec 7, 2011 at 1:48 AM, Jebarlin Robertson
<jebarlin.android@gmail.com> wrote:
> I am developing an android application with WebView. I am writing a html
> file and displaying it in webview,
>
> My requirement is to update the webview whenever I write new content to the
> html file.
>
> As of now I am just displaying the html file in webview initially and after
> that for every new content I am just calling webview.reload(uri).
> But when I do this, the webview is blinking for every reload and some times
> it is going to the top of the HTML content, if you were scrolled down.

Of course. This is not significantly different than any other Web browser.

> Can any one please tell me some suggestion how to do it?

You already are doing it.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate