Camera doesn't return image

in Android 10 an app can't store files in any directory anymore...
see also https://developer.android.com/about/versions/10/privacy/changes

External storage access scoped to app files and media

By default, apps targeting Android 10 and higher are given scoped access into external storage, or scoped storage . Such apps can see the following types of files within an external storage device without needing to request any storage-related user permissions:

To learn more about scoped storage, as well as how to share, access, and modify files that are saved on external storage devices, see the guides on how to manage files in external storage and access and modify media files.

you could try the Small Camera Extension by Juan Antonio to save the taken picture in a directory of your choice and set the directory to the application specific directory...

you can find out the application specific directory by using the file extension and its ApplicationSpecificDirectory method here App Inventor Extensions: File | Pura Vida Apps

asd

Returns the application specific directory /storage/emulated/0/Android/data/<packageName>/files
you can use to read or write files without READ_ or WRITE_EXTERNAL_STORAGE permission.

@Wayne let us know if you get it running by using this workaround...

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by

Taifun.