Skip to content

Commit c203853

Browse files
author
shhu
committed
更新readme
1 parent 3b365ca commit c203853

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ private fun Uri.finishPending(
247247

248248
但是保存到系统图库并分享的场景明显就不符合这个场景,因为图库不是应用私有的空间。
249249

250-
```
250+
```kotlin
251251
private fun shareImageInternal() {
252252
val uri = assets.open("wallhaven_rdyyjm.jpg").use {
253253
it.saveToAlbum(this, fileName = "save_wallhaven_rdyyjm.jpg", null)
@@ -263,8 +263,11 @@ private fun shareImageInternal() {
263263

264264
## 参考资料
265265
[Demo](https://github.com/hushenghao/MediaStoreDemo.git)
266+
266267
[访问共享存储空间中的媒体文件](https://developer.android.google.cn/training/data-storage/shared/media)
268+
267269
[Android MediaStore](https://developer.android.google.cn/reference/android/provider/MediaStore)
270+
268271
[OpenSDK支持FileProvider方式分享文件到微信](
269272
https://developers.weixin.qq.com/community/develop/doc/0004886026c1a8402d2a040ee5b401)
270273

0 commit comments

Comments
 (0)