After creating a ContentProvider using the mentioned tutorial, in your
html code, refer to the css as a URI such as

<head>
<link rel=”stylesheet” type=”text/css”
href=”content://com.yournamespace.maps.LocalFileContentProvider/
asset_filename.css” />
</head>

to insert the css content into the WebView.

I use something similar for javascript.

Cheers,
Wes


On Apr 15, 1:23 pm, wescorp <[email protected]> wrote:
> There are several examples of content providers for different purposes
> around.
>
> Here is one I found useful.
>
> http://blog.tourizo.com/2009/02/how-to-display-local-file-in-android....
>
> Mark Murphy's book examples is also good for learning
> ContentProviders.
>
> Cheers,
> Wes
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to