Saveimageinbackgroundtask method to modify Globalscreenshot.java: String Imagedir = Environment.getexternalstoragepublicdirectory (
environment.directory_pictures). GetAbsolutePath ();
1, JB2 modified to: String Imagedir = Storagemanager.getdefaultpath () + '/' + environment.directory_pictures; 2, JB3. TDD modified to: Import com.mediatek.storage.StorageManagerEx is also required; String Imagedir = Storagemanagerex.getdefaultpath () + '/' + environment.directory_pictures; 3, KK modified to: (1) Import import com.mediatek.storage.StorageManagerEx; (2) Mscreenshotdir = new File ( Storagemanagerex.getdefaultpath () + "/" +environment.directory_pictures, Screenshots_dir_name);(3) in Frameworks/base /packages/systemui/androidmanifest.xml Add the following code:<uses-permission android:name= "Android.permission.WRITE_MEDIA _storage "/>
The Android save location is not in the selected SD card