我需要在画廊中打开多个图像以通过滑动来查看...我知道如何打开1个图像..
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse("file://" + "/sdcard/test.jpg"), "image/*");
startActivity(intent);
Run Code Online (Sandbox Code Playgroud)
如何通过在单个意图中滑动来查看多个图像以查看它们.我有图像的路径......我需要在图库中查看它们.
| 归档时间: |
|
| 查看次数: |
936 次 |
| 最近记录: |