How to load a Picasa image from URI?

前端 未结 1 1087
轻奢々
轻奢々 2021-02-05 18:17

I\'m using ACTION_PICK intent to select an image from gallery. Some albums like \"Posts\", \"Profile Photos\", etc are marked with Picasa icon. Fo

1条回答
  •  你的背包
    2021-02-05 18:23

    Try opening input stream like this

    ContentResolver res = context.getContentResolver();
    Uri uri = Uri.parse(intent.getData().toString());
    res.openInputStream(uri);
    

    0 讨论(0)
提交回复
热议问题