Could not load CSS from local html file. Is functionloadDataWithBaseURL() has some problem or I need to call some other function.

by Mike Kedl » Wed, 15 Apr 2009 01:22:44 GMT

Sponsored Links
 'm just guessing since I haven't tried this myself, but wouldn't you
need to specify the path more completely in the cs statement?
Since you are reading the html in, the base is not really specified,
try either /sdcard/test_files/ex.css or
(this is assuming you can read html from the filesystem at all)

On Tue, Apr 14, 2009 at 4:43 AM, Ajeet Singh <> wrote:


Other Threads

1. ListView w/ImageView - memory utilisation


I am displaying a listview where the view used for each row includes
an ImageView and TextView, with the image displayed dependant on the
contents of the TextView. the images are at this testing phase pngs
approx 600bytes each, dimensions of max 100x35 px.

I have noticed on both a large list and scrolling all the way through
(500+ items) or a small list (~20 items) and scrolling up and down, up
and down, I eventually reach an Out Of Memory error.

How can I overcome this by possibly 'unloading' the images (or row
item views) once they are no longer in view.

I have seen the Android Market do this on ling lists, where if you
scroll back up the list, the images need to be re-downloaded.

How is this implemented? What method is used?


2. How to share classes between different Android projects?

I have two projects that share classes in a third project.  Eclipse
happily allows me to reference these external classes when I am
developing the two dependant projects (as long as the Java Build Path
is set up right), but when I try launching the dependant projects, the
external classfiles are not copied into the .apk for some reason, so
at runtime I get unsatisfied link errors.  I don't want to have to
maintain multiple copies of the same source file, or even have a copy
of these external classfiles in the dependant projects.  I also want
to avoid adding an extra build step where I build the external
classfiles, package them up in a .jar file and include them in the
dependant projects.

How can I get the Android SDK to simply put a copy of any referenced
(non-SDK, non-project) external classes in the .apk at build time?


3. Fwd: FW: The Husband Store

4. Help!!!! How do I delete sms from inbox?

5. unable to delete sms from inbox

6. Delete sms from inbox

7. regarding game creation