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. How can I detect if the user has started my app again?

Hi,
I want a countdowntimer to halt on a menu and also when the user goes
from that menu to another activity.
When the user comes back from that activity or when the menu is
closed, the timer should still halt.
However when the user went to the home screen and clicks on the icon
again, I want the timer to restart.
So my question is, is there a way to detect if the user has just
opened your application, or if the user comes back from another
activity or menu?

Thanks in advance,

Willem Ligtenberg
--~--~---------~--~----~------------~-------~--~----~

2. Android Source Code

Hi everybody, I have a doubt
Where I can find the Android source code with the Linux kernel and
Libraries sources?



-- 
Chihau Chau

--~--~---------~--~----~------------~-------~--~----~

3. About using findViewById

4. audio recording to split (small) files without dropping or overlapping samples

5. Playing encrypted video.

6. need help for MediaRecorder

7. Raw audio from the microphone?