Skip to content

Commit

Permalink
file directory fixing part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kminchan committed Aug 25, 2012
1 parent fd971aa commit b01da53
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Binary file modified Cpdf/bin/classes/com/cpdf/PhotoHandler.class
Binary file not shown.
12 changes: 9 additions & 3 deletions Cpdf/src/com/cpdf/PhotoHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,14 @@ public void onPictureTaken(byte[] data, Camera camera) {
}

private File getDir() {
File sdDir = Environment
.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
return new File(sdDir, "CameraAPIDemo");
//File sdDir = Environment
// .getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
//return new File(sdDir, "CameraAPIDemo");
String newFolder = "/myFolder2";
String extStorageDirectory = Environment.getExternalStorageDirectory().toString();
File myNewFolder = new File(extStorageDirectory + newFolder);
return myNewFolder;


}
}

0 comments on commit b01da53

Please sign in to comment.