i realise there's plenty of prior art around the network on this one, i'd like the official line if possible.
i'm wondering why i can't reference static local content in a page which is coming in off the network. the specific situation i have is that my application's HTML depends on fairly heavy javascript libraries and currently i have to drag them off the network each time a page loads. ideally i would be able to reference these cached copies with <script src=file:///android_asset... /> but it seems that this is specifically not allowed. initially i tried getting round this by writing a content provider, but then i got the error "this file can not be opened as a file descriptor, it is probably compressed" on calling assetmanager.openfd(). er, what? i can get a stream to a file in a zip, why can't the asset manager? is there a way around this? i'm still not really seeing why it's a security issue to load stuff out of your own apk. (and, as always, the list hates any address i register with it, so please copy me directly on any replies.) thanks muchly -- jason.software.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 -~----------~----~----~----~------~----~------~--~---

