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
file:///sdcard/test_files/ex.css.
(this is assuming you can read html from the filesystem at all)


On Tue, Apr 14, 2009 at 4:43 AM, Ajeet Singh <ajeet.invinci...@gmail.com> wrote:

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



Other Threads

1. Thread always seem to throw exceptions although no erros in program

Hi,

A bit of misunderstanding on your part about the try-catch-finally :)

Finally is where you put code you want to execute no matter what
happened before, exception or not.
Catch is the code executed only when an exception occurs
Try is what you want to execute but might trigger an exception.

See java :
http://www.janeg.ca/scjp/flow/try.html

Yahel





-- 

2. Mo nanya tentang cache

Suhu2 sekalian mo tanya nih cache yang ad dibrowser dan market itu apa ya?
Klo diclear boleh? Karena makan banyak internal memory. Thx

-- 
"Indonesian Android Community [id-android]" 

3. Thread always seem to throw exceptions although no erros in program

4. Asisten APN

5. How to know a view size before it's rendered

6. OOT: N900 di NPC Plaza Indo

7. OOT: Mirdak