I've found an inconsistency with the AssetManager. I have a file in my
package with the path "assets/models/cube.xml".
Succeeds without FileNotFoundException:
getAssets().open("models/cube.xml")
getAssets().openXmlResourceParser("assets/models/cube.xml")
Notice above that the second call requires the root "assets/" to
succeed. This is inconsistent with the open method.
This will fail with FileNotFoundException:
getAssets().openXmlResourceParser("models/cube.xml")
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---