Hi, This only works on Android v 2.2 and above and below this version all application data would be stored on the internal storage.
Try using this permission below Android 2 and you will find the difference, you cannot use this permission in manifest. On Sun, Jul 24, 2011 at 4:29 PM, guruk <ilovesi...@gmail.com> wrote: > Hi there, > i always did wrote to sd card with > > String baseDir = > Environment.getExternalStorageDirectory().getAbsolutePath(); > > String fileName = DATABASE_TABLE + ".myd"; > > File f = new File(baseDir + File.separator + fileName); > > FileWriter gpxwriter = new FileWriter(f); > > BufferedWriter out = new BufferedWriter(gpxwriter); > > // ------------ > > now i came about the permission: WRITE_EXTERNAL_STORAG > > I NEVER used/implemented that permission into my manifest. > > So what? > > > I have android:minSdkVersion="2" > > and my building target is 8 android:minSdkVersion="2" (android 2.2) > > does it have to do with that? > > > I am just wondering WHY can i write to sdcard without that permission. > > and why should i implement it? > > > thx > > chris > > > -- > 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 -- *Feign Narula* * * *Team Lead* *Phone : +16478634318* *Linkedln profile : http://ca.linkedin.com/pub/feign-narula/29/54/b82* *SCJP 5.0 Certified Programmer* *Curam V6 Certified Developer* *TOGAF V9 Certified Practitioner* -- 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