How to load a Picasa image from URI?

前端 未结 1 1079
轻奢々
轻奢々 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)
提交回复
热议问题