[android-developers] Froyo: files picked have prefix 'mnt' before the actual filename... why?

2010-08-11 Thread Abhi
I have a video player application that I am trying to run on my moto
droid with Froyo. When the user picks a particular video file for
playback, the file picked is seen to have a filename with a prefix
'mnt' added to its actual name. This is causing a lot of problems
within my application as I am further using these filenames for other
functions of the app.

anyone knows whats going on?

Abhi

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Froyo: files picked have prefix 'mnt' before the actual filename... why?

2010-08-11 Thread Mark Murphy
On Wed, Aug 11, 2010 at 11:43 AM, Abhi abhishek.r.sha...@gmail.com wrote:
 I have a video player application that I am trying to run on my moto
 droid with Froyo. When the user picks a particular video file for
 playback, the file picked is seen to have a filename with a prefix
 'mnt' added to its actual name. This is causing a lot of problems
 within my application as I am further using these filenames for other
 functions of the app.

 anyone knows whats going on?

The mount point for the SD card changed with Android 2.2. It is now
/mnt/sdcard rather than /sdcard. If you are using
Environment.getExternalStorageDirectory() as the base of the SD card,
there should be little to no impact on your app for this change.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 2.2 Programming Books: http://commonsware.com/books

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en