摘要:
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);通过 Context.getSystemService().方法获取PowerManager实例。 然后通过PowerManager的newWakeLoc 阅读全文
摘要:
paintPath = MediaStore.Images.Media.insertImage(context.getContentResolver(),bitmap,str,null); Uri uri = Uri.parse(paintPath); /** * 通过uri获得文件路径 * @pa 阅读全文