thanks for the response. do you have 1.5 versions of those projects btw? i'd just update them, but in practice i've found that the updater always complains that the projects are too old, and the creator, which pre-1.5 used to just replace the bits of the project hierarchy that were missing with new ones (so you'd just remove build.xml and then get a new one, magic), now blows away important parts of the application. sigh.
turns out i had the HTML in the res/raw folder rather than the assets/ folder. works OK now. i did run into some weird problems after moving around resources though. strange crashes etc. i found i had to rm -rf bin/* gen/* before building, more evidence that the build process doesn't manage its dependencies properly. > > i'm using file:///android_asset/resourcename to access apk resources, >> as various online resources and the WebKit doc page suggest, but i'm >> getting no success. > >Visit: > >http://commonsware.com/AdvAndroid/ > >and download the source code. In there, you will find the WebKit folder >containing a pair of projects that successfully load HTML pages out of >assets/. I have tested this code on Android 1.5 and it works there too, >though the ZIP file contains Android 1.1 projects. > >> the docs say that apk asset access is "more restricted" post-1.0, >> without being specific. do i need to declare a permission or >> something? > >I have usually requested the INTERNET permission whenever I use WebView, >though that may just be a knee-jerk reaction. The projects I cite above >have INTERNET and ACCESS_FINE_LOCATION (they demonstrate allowing location >information access from Javascript). > >-- >Mark Murphy (a Commons Guy) >http://commonsware.com >_The Busy Coder's Guide to Android Development_ Version 2.0 Available! > > > > -- 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 -~----------~----~----~----~------~----~------~--~---

