And how to do it if i want tp copy a file from /data/data/android/ android.dat to a directory "android" in the SDCARD ? Thanks :).
On 1 avr, 12:10, Marcin Orlowski <[email protected]> wrote: > On 1 April 2011 12:32, Alaeddine Ghribi <[email protected]> wrote: > > > For storing a picture, here is the code: > > File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); > > For pictures I'd rather use: > > File path = getExternalFilesDir(Environment.DIRECTORY_PICTURES); > > to get the right path > > Regards, > Marcin Orlowski > > *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy... > WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and > *Twitter<http://webnetmobile.com/twitter/> > * -- 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

