loadDataWithBaseUrl() problem

by Ramya » Sat, 19 Sep 2009 02:00:14 GMT


Sponsored Links
 Hello all,

I have been working on Android for past few months and recently
started an application that involves WebView. I have a project where I
have a main url from which I need to parse a part of the data and
display it in WebView and I use loadDataWithBaseUrl() for the same.
like : mWebView.loadDataWithBaseURL("file:///android_asset/", data,
"text/html", "utf-8", "about:blank");

I have the image files in the asset folder and for now I can get the
data and image displayed. The data has html content in the same but
without <html><body> tags. Right now I can get the links working with
D-pad but not with touch. I tried it both on the device and the
emulator and still get the touch to work. When I touch the link, it
gets highlighted but doesn't get clicked. I do remember if I use
loadUrl() and give the main url, the touch works. But in my case I
need to show only part of the file each time. Has any one come across
this problem. It would be nice if someone can me help me through it.

Thanks,
Ramya

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



Other Threads

1. creating a widget

Somebody knows a tutorial that shows how to create a widget?
--~--~---------~--~----~------------~-------~--~----~

2. AudioFlinger sampling frequency

Hi Friends,

Can anyone please let me know what are the changes one needs to do in
AudioFlinger to get the input data (from mic) at 16000 sampling rate.
In the current AudioFlinger implementation it looks like 8000 is the hard
coded sampling rate.
I have tried replacing 8000 with 16000. :) but this seems to be not working.

Thanks
APT

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

3. Resetting checkboxes in a dialog with .setMultiChoiceItems()

4. gadget

5. Using a 3rd party shared library for a mediaplayerinterface implementation

6. Disable XSL transforms in HTTPClient

7. Resetting checkboxes in a dialog with .setMultiChoiceItems()