i hear that 1.6 has a more sorted local-access system, and it's not a 
moment too soon IMHO.

>I know one way that works for sure. Open a server socket inside your
>app, then specify http://localhost:1234 inside WebView. This seems
>like a hack (and maybe it is :-) but it's much simpler than fighting
>with WebView.
>
>On Sep 18, 10:41 am, Jason Proctor <[email protected]>
>wrote:
>>  i had all kinds of trouble trying to get WebKit to load local
>>  resources, and implemented my own content provider to deal with some
>>  kinds of content: URLs. i ran into issues even then, and eventually
>>  had the content provider cache stuff from my assets directory in
>>  /sdcard.
>>
>>  hth
>>
>>
>>
>>  >Hi Mark,
>>
>>  >I have given the fully-qualified url of CSS. But don't know why this
>>  >is happening.
>>
>>  >I will make small app and will try to open an issue on this if could
>>  >not get answer on this forum.
>>
>>  >Ideas from the experts are very much welcome.
>>
>>  >Thanks,
>>  >AJ
>>
>>  >On Sep 18, 4:13 pm, Mark Murphy <[email protected]> wrote:
>>  >>  AJ wrote:
>>  >>  > If we try to load local HTML file [through ContentProvider] in which
>>  >>  > the css is specified with "import" keyword, the css deoes not get
>>  >>  > properly applied.
>>
>>  >>  I am very much *not* a CSS expert. With that in mind:
>>
>>  >>  -- have you tried fully-qualifying the URL you use with @import?
>>
>>  >>  -- is there a reason you use @import versus a stylesheet <link> element?
>>
>>  >>  Also, since I do not see a bug report for this out
>>  >>onhttp://b.android.com, if you can create a small project that
>>  >>reproduces
>>  >>  the error, you might want to open an issue on it, so that it is more
>>  >>  likely to get investigated.
>>
>>  >>  --
>>  >>  Mark Murphy (a Commons
>>  >>Guy)http://commonsware.com|http://twitter.com/commonsguy
>>
>>  >>  Android Development Wiki:http://wiki.andmob.org
>>
>>  --
>>  jason.vp.engineering.particle
>

-- 
jason.vp.engineering.particle

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to