Use case:
I have a log file (courtesy of the changes to log access in Jellybean) that 
I want to allow a user to send me along with some notes that they make etc. 
I want the process to be transparent to the user. I want to reuse existing 
rather build a lot of infrastructure myself. And I don't want to add any 
new permissions like WRITE_EXTERNAL_STORAGE. I want this simple as it is 
far from core functionality .

Current design:
I create a the log file using 
http://developer.android.com/reference/android/content/Context.html#MODE_WORLD_READABLEand
 use a send Intent with the Uri to the file passed as 
Intent.EXTRA_STREAM along with the contact email address. This hands off to 
the email client and the user send an email containing the attached logs 
plus any notes. This is almost ideal except that MODE_WORLD_READABLE has 
been deprecated as of API#17.

So considering the use case how do I rebuild without using 
MODE_WORLD_READABLE?

William

-- 
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

Reply via email to