Android Question help file not found

Discussion in 'Android Questions' started by Nkalampika, May 31, 2019.

  1. Nkalampika

    Nkalampika Member Licensed User

    hello i want to display an image in an imageview thanks to B4aGridView but i get an error after click event: file:/storage/emulated/0/WhatsApp/Media/WhatsApp Images/IMG-20190530-WA0004.jpg: open failed: ENOENT (No such file or directory)
  2. Computersmith64

    Computersmith64 Well-Known Member Licensed User

    Unless your app is called "WhatsApp" it looks like you're trying to open a file from another apps resources (which you can't do in Android). Since you haven't posted any code or anything else that might be useful, I'd say that you need to put the image into your app's Files folder (in the B4A IDE), then load it from there.

    - Colin.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice