java将Bitmap图片保存到本地相册publicstaticvoidsavePhotoToGallery(finalContextcontext,finalBitmapbitmap){if(Build.VERSION.SDKINTBuild.VERSIONCODES.M){AndPermission.with((Activity)context).requestCode(200).permission(Manifest.permission.CAMERA,Manifest.permission.WRITEEXTERNALSTORAGE).start();}if(bitmapnull){ToastUtil.showCenterToast(context,"未获取到图片");return;}newThread(newRunnable(){Overrid...