Re: [android-developers] File.setReadable not available before API level 9
setReadable() is not your problem -- all files on external storage are readable.
If you are running into this problem on Android 3.0+ devices, you need
to index your file:
http://commonsware.com/blog/2011/08/31/mtp-external-storage.html
On Sat, May 5, 2012 at 5:05 PM, RLScott <fixthatpiano@yahoo.com> wrote:
> Is there a level 8 equivalent for this function? I need to write
> files to external memory that the user can browse from the desktop via
> USB. My app specifies API level 8 and I really don't want to leave
> behind users who are on Android 2.2. Currently what happens is I
> write the file and it is clearly there when viewed from the Android
> device's file explorer app. But when connected via USB the file does
> not appear.
>
> --
> 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
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.7 Available!
--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home