since 1.6, IIRC
also, use Environment.getExternalStorageDirectory() instead of
hardwiring the /sdcard path, as the location may change in future....
Yeah thanks guys, I forgot to write the WRITE_EXTERNAL_STORAGE
permission, it's all good now.
It's weird because it's the first time I ever had to write this
permission. For all my previous aps, I never bothered about it.
Is it a recent change in the OS?
On Feb 12, 7:43 am, skink <psk...@gmail.com> wrote:
On Feb 11, 8:57 pm, TreKing <treking...@gmail.com> wrote:
> On Wed, Feb 10, 2010 at 6:00 PM, gallagth <galla...@gmail.com> wrote:
> > File file = new File("/sdcard/GPS Test/results/results.txt");
> Are you certain this path exists on the SD card?
>
--------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered
deviceshttp://sites.google.com/site/rezmobileapps/treking
also do you have WRITE_EXTERNAL_STORAGE permission?
pskink
--
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
--
jason.vp.engineering.particle
--
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