https://bugzilla.novell.com/show_bug.cgi?id=643958
https://bugzilla.novell.com/show_bug.cgi?id=643958#c5 --- Comment #5 from Jonathan Pryor <[email protected]> 2010-10-29 13:06:34 UTC --- Unfortunately, lowercasing things isn't everything. While '.' is a valid character, it can only occur _once_. Try to create res/raw/foo.bar.baz.txt, and you'll be treated to a build error; you'd instead need res/raw/foo_bar_baz.txt. (Plus, on a completely unrelated side note, Android is terribly brain damaged when it comes to raw resources. Specifically, if you use some undetermined set of file extensions, it won't compress the file, but if you use an extension outside of that set, it will. Thus, res/raw/foo.txt is stored uncompressed, as is res/raw/some_video.m4v, but store res/raw/mscorlib.dll and it's compressed.) The more I use it, the more Android's resource system seems "baroque" and inconsistent... which makes me even _less_ inclined to do "user-friendly" things behind the user's poor back (lower case strings, s/./_/g, etc.) as it becomes hard to reason about what the actual results will be. On the flip side, doing all these "magical" things _would_ make developers lives easier...until the magical things bit them in the ass. How would that happen? I have no idea, but I similarly have little doubt that it could happen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
