//make a folder «pics» to store pics taken by the camera using this
final String directory = Environment. getExternalStoragePublicDirectory (Environment. DIRECTORY_PICTURES) + “/pics/”;
File nd = new File (directory);
nd. mkdirs ();
//what is the picture name?
String file = directory+«myfile»+». jpg»;
File myFile = new File (file);
Вы ознакомились с фрагментом книги.
Приобретайте полный текст книги у нашего партнера: