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. Navigasi Darat dengan Android

Guys,

Bagi yang punya link untuk Papago/iGo/NDrive (Trial) untuk Android (2.1)
boleh dong share link-nya.
Rencana mau beli aplikasi, tapi mau tes dulu keakuratannya. Thanks.

-LK-

-- 
--------------------------------------
tweet me @lkmoeslich
(http://twitter.com/lkmoeslich)
--------------------------------------

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

2. Spinner With Images and Text

I'm trying to create a spinner that displays an image+text, where the
image can be one of two possible images, depending on a parameter
(e.g. think of a list of users, with a green light if they're online
and a red one if they're not).

I subclassed ArrayAdapter, and I get exactly the behavior I want for
the image currently displayed in the Spinner. But when I click on the
Spinner and it displays all the drop down items, they do not display
per the custom ArrayAdapter I created.

Is there a way to get the view of each item in the drop-down menu to
display exactly as they do in the Spinner window when it's not open?

Do I need to override setDropDownViewResource similar to the way I
overrode getView?

As a general design question, why don't the items in the drop-down
menu display exactly as they do when the Spinner is not open?

-- 

3. JVM tool interface support? in android vm - I want to register get/set hooking callback function at my class

4. Two-level tab navigation

5. Thread execution hiccups on Motorola Droid

6. ListView question

7. Accelerometer - direction of shake?