Android Question Get photo from gallery directory.

Discussion in 'Android Questions' started by Wolli013, Aug 24, 2019.

  1. Wolli013

    Wolli013 Active Member Licensed User

    What is the easiest way in B4A to get a photo from the picture gallery (the folder where the photos you take with your hand are inside)?
    to download into your own App folder for a background image?
    Does anyone have a code snippet?
     
  2. DonManfred

    DonManfred Expert Licensed User

    You need to use the ContentResolver library to query Results from Androids ContentProvider.
    No, you need to search the forum if you find something.
    You need to learn to work with the ContentResolver. You probably find information about the content url in Googles Documentation.

    This applies if you want to retrieve Results without userintervention.

    Alternatively you can use ContentChooser to let the deviceuser select a Photo.
     
    Wolli013 likes this.
Loading...
  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