On 1 April 2011 12:32, Alaeddine Ghribi <alaeddineghr...@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 <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 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

Reply via email to