Hi together, Since a few days we are struggling with accessing asset files. Pretty early I found out that accessing assets is not directly possible with the "file:///" Uri. Now my colleague wrote a ContentProvider class.
Within the ParcelFileDescriptor from the ContentProvider we use the openFile method to directly access a css file when the pfd is called from within HTML with the content:// scheme. Unfortunately, the css had no effect on the HTML and I found out with File.exists() that this file does not exist under "file:/// android_asset/ + filename", although the file is obviously under assets/Resources in my package exlplorer. My presentiment is that it's all just a minor misuse of URI paths. Thanks in Advance for any help. Cheers, Andre --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---