Created
June 8, 2014 10:30
-
-
Save mindaugasbudreika/b3e9772492bd4a890858 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if(Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { | |
| File path = new File(Environment.getExternalStorageDirectory() | |
| + File.separator + context.getString(R.string.app_dir)); | |
| if(!path.exists()) { | |
| path.mkdirs(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment