On Fri, Mar 12, 2010 at 10:34 PM, Kumar Bibek <[email protected]> wrote:
> FileWriter fw = new FileWriter("/sdcard/text.txt");
>
AGAIN - DO NOT hard code the SD card path. Use
Context.getExternalStorageDirectory().
This path may change in the future or from device to device and you're app
will fail if you hard code this value.
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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