Display an image stored on phone

后端 未结 3 1396
故里飘歌
故里飘歌 2021-01-02 12:46

I have succesfully been able to take a photo inside my app and store it on the phone, but how do I display it?

I tried this static approach but it does not work (Yes

3条回答
  •  感情败类
    2021-01-02 13:27

    Even I faced this issues and got it resolved. You have to prepend the the file path with file:// (mind the double /).

    
    

    Here's a reference!

    I hope this helps :)

提交回复
热议问题