标签:
修改GlobalScreenshot.java的saveImageInBackgroundTask方法: String imageDir = Environment.getExternalStoragePublicDirectory( Environment.DIRECTORY_PICTURES).getAbsolutePath(); 1、JB2修改为: String imageDir = StorageManager.getDefaultPath() + ‘/‘ + Environment.DIRECTORY_PICTURES ; 2、JB3.TDD修改为:同时需要导入 import com.mediatek.storage.StorageManagerEx; String imageDir = StorageManagerEx.getDefaultPath() + ‘/‘ + Environment.DIRECTORY_PICTURES ; |
标签:
原文地址:http://www.cnblogs.com/chenhaimeimeng/p/4688799.html