Sunday, August 1, 2010

[android-developers] Re: Add Media Files to Library in Froyo

It turns out when I added a file on /sdcard, they were not added.
When I add using the /mnt/sdcard path it worked fine. Both paths seem
valid (I guess one is a symlink) but only the /mnt/sdcard adds the
file to my library right away. It appears you can get the right
pathname using:

Environment.getExternalStorageDirectory()

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

No comments:

Post a Comment