toga icon indicating copy to clipboard operation
toga copied to clipboard

Add an API for accessing the photo gallery

Open freakboy3742 opened this issue 1 year ago • 1 comments

What is the problem or limitation you are having?

Most platforms (especially mobile platforms) have a photo gallery/photo sharing capability. Toga should offer a cross-platform API to:

  1. Select a photo from the device's photo gallery; and
  2. Save an image to the device's photo gallery.

Describe the solution you'd like

A cross platform API (toga.App.gallery?) that allows users to save/retrieve photos from the device's photo gallery.

Describe alternatives you've considered

Additional context

On mobile devices, this will likely involve additional permissions.

On desktop platforms, it may be no more complex than opening a file dialog on the ~/Photos folder (or similar location). It might be desirable to have a custom "photo browsing" dialog, rather than a "raw" file dialog.

freakboy3742 avatar May 29 '24 22:05 freakboy3742

yes please

hkdkfih avatar Aug 15 '24 13:08 hkdkfih