Android storage location is not in the selected "SD card", androidsd
Modify the saveImageInBackgroundTask method of GlobalScreenshot. java: String imageDir = Environment. getExternalStoragePublicDirectory (
Environment. DIRECTORY_PICTURES). getAbsolutePath ();
1. Modify JB2 to String imageDir = StorageManager. getdefapath path () + '/' + Environment. DIRECTORY_PICTURES; 2. Modify JB3.TDD to: import com. mediatek. storage. storageManagerEx; String imageDir = StorageManagerEx. getdefapath path () + '/' + Environment. DIRECTORY_PICTURES; 3. on KK, modify it to: (1) import com. mediatek. storage. storageManagerEx; (2) mScreenshotDir = new File (StorageManagerEx. getdefapath path () + "/" + Environment. DIRECTORY_PICTURES, SCREENSHOTS_DIR_NAME); (3) in frameworks/base/packages/SystemUI/AndroidManifest. add the following code in xml: <uses-permission android: name = "android. permission. WRITE_MEDIA_STORAGE "/>