[android-developers] Re: SQLite database on sdcard under android 2.2 : possible ?
You are right.
I found my problem (which is not in the sample source code I posted first (that's doesn't help !!!)
File f1 = Environment.getExternalStorageDirectory();
Log.v(TAG, f1.getAbsolutePath());
Log.v(TAG, f1.getAbsolutePath());
returns \sdcard under 2.1 and \mnt\sdcard unders 2.2
And I hardcoded "\mnt\sdcard" somewhere else in my program (instead of calling getAbsolutePath)... 2.1 doesn't support \mnt before \sdcard...
Thank you for you help and sorry to have wasted your time.
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