Display small portion of HTML file in WebView

by Anurag Singh » Wed, 21 Apr 2010 10:49:49 GMT

Sponsored Links
 Please use webView.loadData("<html><body>Hello, world!</body></html>",
"text/html", "UTF-8");

There are so many navigation functions to move forward and back, like

goBack(), canGoBack(), goForward(), canGoForward(), reload() etc.

- Anurag Singh


Display small portion of HTML file in WebView

by mansur » Wed, 21 Apr 2010 14:31:46 GMT

 Thanks for your reply.
but we want to display some portion of the html file. the next
remaining content should be displayed on click of  '>' (which is at
the bottom of the screen) Its like e book reader where you are reading
book page wise.

Thanks and Regards,
Mansur Agasar

> >

Sponsored Links

Display small portion of HTML file in WebView

by Kumar Bibek » Thu, 22 Apr 2010 17:48:31 GMT

 The user can surely use the scroll of the browser. Browsers are for
displaying the whole HTML. You cannot  even do that in Desktop, unless
you change your HTML code. :)

Thanks and Regards,
Kumar Bibek

> > >

Other Threads

1. USB ADB Device connected notification icon still present even after device removed


I am running USB ADB on my development platform, am using 2.6.29
kernel. If i insert the USB cable after kernel
boot-up, after UI comes (after ADB daemon is started in the init.rc) ,
then ADB work perfectly fine and if i remove the cable, then
disconnect event is notified properly to the ADB driver (on the
device) and the "USB device connected icon" on the device disappears.

If I plug-in the USB cable before board power-on (before kernel boot -
up),even then ADB works fine, but if I remove the USB cable, then the
device disconnect notification is not sent to the ADB driver and the
"USB connected" icon still remains on the device.

I dont think its my controller driver problem because it works fine if
i run file storage (UMS) . one more thing that I observed is in case
ADB the device is getting enumerated twice, once at the kernel boot up
and once after init.rc is executed.

Does any one know what can be the problem ?

Thanks in advance


unsubscribe: android-kernel+unsubscr...@googlegroups.com

2. Cannot receive UDP in mobile network

I am writing a UDP client/server application.
The android phone (client) can send and receive UDP packets if
connected to wi-fi. When using mobile network (2G), however, it can
send packets to the server, but cannot receive packets. The server
does receive and send back packets in all cases.

The client side code is as follows:
  byte[] buf = new byte[4096];
  DatagramPacket packet = new DatagramPacket(buf, buf.length);
  while (true) {

Can anyone give advice? Thanks.



3. Does Android has a Touchscreen requirement?

4. Compiling Android Kernel For X86

5. Programmatic dithering on android

6. Is there a way to print the activity stack ?

7. Accessing Contact Data Base for adding,deleting,updating contact using Native code