//圖片插入到圖片庫
MediaStore.Images.Media.InsertImage(context.ContentResolver, image, Guid.NewGuid.Tostring(), null);
//更新圖片庫
context.SendBroadcast(new Intent(Intent.ActionMediaScannerScanFile));
每次插入后,會發現存在3張相同的照片
uj5u.com熱心網友回復:
你只更新試試(就會往媒體庫里塞檔案Uri)轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/84490.html
標籤:Android
