I need to create files under myapp/files/subdir with global permission in my application. I do this because I use external applications to open some files
Using this
One workaround I used in the past was to re-open the already existing file using openFileOutput in append mode, and pass in the world readable and/or world writable flags during that time. Then immediately close the file without writing to it.
I like the new methods added in API 9 better though.