Android: Calling crop activity after taking photo

前端 未结 1 1857
心在旅途
心在旅途 2021-02-08 17:17

I\'m facing a problem with parsing a uri of taken photo to crop activity. In my application, users can take a photo or select one from gallery and then crop it and upload it. Ev

相关标签:
1条回答
  • 2021-02-08 18:11

    I had intent.setType("image/*"); and it still didn't work...

    What solved it for me was using: intent.setDataAndType(tempImageURI, "image/*");

    Good luck!

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