Display some part of HTML file in WebView

by mansur Android » Wed, 21 Apr 2010 21:49:34 GMT

Sponsored Links
 Hi All,

We have a large HTML which contents 1000's of lines. But we want to
show content of the HTML file that fits a
single screen.  We want provide a '>'  kind of to show the next
contents of the same HTML file.

Our objective is to only display the HTML contents that fits the
screen.Similar to reader application  For user, it seems there are
several pages.

Is there any way in which we can achieve this functionality. Whether
WebView has any function related to full fill the requirement.

Thanks and Regards,


Display some part of HTML file in WebView

by Sean Hodges » Wed, 21 Apr 2010 22:02:06 GMT

 Why must all the content be on a single HTML page?

If you really can't split it out, you could use some Javascript
actions to hide/display sections of the HTML page when the user clicks
the '>' button. However, the browser will still need to download and
render the entire page when it loads, which may take a long time. The
best solution would be to split the content into a number of pages.

On Wed, Apr 21, 2010 at 2:49 PM, mansur Android


Sponsored Links

Other Threads

1. Low-level APIs (Wifi/Bluetooth)

Hi all,

This is a question mostly to those working directly on Android development.
Is there an expected date on the availability of low level APIs (on the SDK)
that will give us access to the WLAN or Bluetooth devices?



2. confused by XML tag in manifest document

I really appreciate when anyone pulls  me  out of my confusing.

As  description below :

        <receiver android:name=".transaction.SmsMessageSender
android:name="com.google.android.mms.transaction.MESSAGE_SENT" />
            <data android:scheme="content" />

pay attention to    <data android:scheme="content" />
<data> represents a uri, right ? But what is the meaning of
android:scheme="content" ?
If it has been  defined in somewhere as a uri,then what the exactly
position is ?
I find it is really hard to search the tags in android sdk . Is there
any convenient way to check the tag  out?


3. When will the next SDK version be released to non-ADC winners?

4. Image and Text List items

5. DECT Forum Announces International CAT-iq Design Competition

6. Why my android can't update? (about the version of adb.exe)

7. Native application