Friday, April 1, 2011

Re: [android-developers] Re: Import/Export data file



On 1 April 2011 12:32, Alaeddine Ghribi <alaeddineghribi@gmail.com> 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 - keep you daily schedule handy...
WebnetMobile on Facebook and Twitter
 

--
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

No comments:

Post a Comment