Usually, for stuff to load into a WebView, assets/ is a better answer
than res/raw/. Here is a sample project:

http://github.com/commonsguy/cw-advandroid/tree/master/WebView/GeoWeb1/

On Wed, Jul 7, 2010 at 1:56 PM, Connick <oconn...@gmail.com> wrote:
> Part of the answer. res/raw
> Now just need to figure out where those end up. :)
>
> On Wed, Jul 7, 2010 at 1:51 PM, Connick <oconn...@gmail.com> wrote:
>>
>> More specifically ...have the files show up:
>> /data/data/com.mydomain.foo/media/foo.js
>>
>> Is this something I would have to provision programatically at runtime?
>>
>>
>> On Wed, Jul 7, 2010 at 1:35 PM, Connick <oconn...@gmail.com> wrote:
>>>
>>> I'm looking to load some JS and CSS into a webview (via content provider)
>>> which is all well and good ...but how should these files be packaged in the
>>> APK such that I can reference them from the provider impl at runtime? i.e.
>>> com.domain.myprovider/foo.js
>>>
>>> Thanks!
>>> Stace
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.8 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to