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. Global Media firm in NYC (new MOBILE APP R&D Team)

Great job opportunity for:

MOBILE APPLICATION DEVELOPERS (Developing Consumer Apps for Android,
iphone, ipad, and Blackberry)

Global Media firm in NYC has Mobile Applications R&D team looking to
build NYC presence!

Building an elite team of Mobile Application Developers for Android,
iphone, ipad, and Blackberry devices.

This high profile, highly funded company has a successful Mobile
presence already that delivers apps to over 600,000 users/day.  They
are creating new revenue generating products and now looking to expand
Consumer Applications and channels for Mobile devices.  Looking for
experience building Commercial Mobile Apps.  Should have experience
successfully creating and deploying mobile apps commercially.
Development is FPLC and front to back.  Will build real time services
that deliver data as well as UI and device development.

While this team will build and deploy apps across multiple platforms/
devices, there is a definitive need for Android exerience.

Developers must be proficient with standard Java development tools,
including ADT plugin, JUnit, and popular IDE such as Eclipse.
Proficiency with open source frameworks or third-party libraries
specifically required for Android applications.  You will design,
develop and test applications from the ground up working with outside
data sources and API's.  You will develop and deploy Android OS 1.6+
based applications using Java.  Experience with multiple mobile
platforms (iOS, WebOS, etc).  Experience with profiling, tuning, and
optimizing Java applications.  Experience with mobile video delivery
would be a plus.

Java, C++ or Objective C - Mobile Apps Developers for iphone, ipad,
Blackberry and Android.


2. Integrating orkut in android application

Hi all,

I am developing an application in which i m planning to provide a
feature of sharing contents on social networkign sites.

like face book and twitter, ow can we integrate orkut in our android
application. Do we have any sdk or apis for the same.

Thanks & Best Regards


3. getting exception when inserting events in android calendar.

4. RTSP Example

5. Installing ADT plugin for eclipse (Debian squeeze)

6. Connect to other device through WIFI (ZeroConf/Bonjour)

7. ListView as part of a Activity