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,
*Mansur*

--



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. AVD which resembles the Nexus One?

Where can I find an AVD or AVD spec for the emulator which match the
Nexus One?

-- 

2. The auto-generated R.java generation is invalid. Can't compile a new APK.

Hi all,

When I opened my old project, but surprisingly it generates non-compilable
R.java ,

I have checked all layout xml files for incorrect id attribute of this form:
android:id="@+id/", and found out that I am using all the the correct
values.

In the auto-generated R.java, it has this line:

public static final int =0x7f0b0027;

I am clueless, i need to get compile a new APK and I am stuck with this tiny
issue.

Agus.

-- 

3. Acer Liquid-Android akan meramaikan Para Pengguna Android di Indonesia

4. Email Accounts

5. Ask Sarung Pinggang G1

6. My android project did not show up in emulator.

7. is Styled.java been removed?