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. Flickr api connection with android

Hey guys,I need assistance in connecting my android app to flickr api
methods to be able to use the method of photosforlocation and view the
retirevied photo from the photolist in an imageview, yet i have been
searching for over 2 days with no use, please help me in this matter

-- 

2. HelloAndroid] Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!

Hi,

I have downloaded and tried to extract and install android sdk for win
xp.  I tried hello android example and it gives error when trying
build in subject line.


here are the archives I used to setup.

ADT-10.0.1.zip                android-2.2_r02-windows.zip    android-
sdk-windows          android_usb_windows.zip        platform-tools_r03-
windows.zip
Beginning_Android_2-4530.zip  android-3.0_pre_r01-linux.zip  android-
sdk_r10-windows.zip  commonsguy-cw-android-f1de3a5  projects


here is how its setup.  The platform-tools was extracts and renamed
since eclipse was looking an exe in that path.  I have added ./android-
sdk-windows/platforms/android-2.2_r02-windows and ./android-sdk-
windows/tools to path env.

./android-sdk-windows
./android-sdk-windows/platforms
./android-sdk-windows/platforms/android-2.2_r02-windows
./android-sdk-windows/platforms/android-2.2_r02-windows/ant
./android-sdk-windows/platforms/android-2.2_r02-windows/data
./android-sdk-windows/platforms/android-2.2_r02-windows/images
./android-sdk-windows/platforms/android-2.2_r02-windows/skins
./android-sdk-windows/platforms/android-2.2_r02-windows/templates
./android-sdk-windows/platforms/android-2.2_r02-windows/tools
./android-sdk-windows/add-ons
./android-sdk-windows/tools
./android-sdk-windows/tools/ant
./android-sdk-windows/tools/lib
./android-sdk-windows/tools/lib/x86_64
./android-sdk-windows/tools/lib/emulator
./android-sdk-windows/tools/lib/x86
./android-sdk-windows/tools/proguard
./android-sdk-windows/tools/proguard/ant
./android-sdk-windows/tools/proguard/lib
./android-sdk-windows/tools/proguard/bin
./android-sdk-windows/tools/Jet
./android-sdk-windows/tools/Jet/demo_content
./android-sdk-windows/tools/Jet/logic_templates
./android-sdk-windows/tools/Jet/JetCreator
./android-sdk-windows/android_usb_windows
./android-sdk-windows/platform-tools
./android-sdk-windows/platform-tools/lib


Probably its simple setup issue.  Please guide.

Regards,

Miten.

-- 

3. android.R.styleable.Theme

4. bouncycastle CMS API works on Android 2.3 but failed on 2.2

5. Custom ArrayAdapter add items programmatically

6. load an image from a URL

7. Pake paket,pulsa tetep berkurang