Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28059

Android: Modify Ti.Media APIs to use scoped storage

    Details

      Description

      Summary:
      The following APIs can write to file outside of the app's sandbox on external storage and need to be changed for Android 11.

      • Ti.Media.showCamera()
      • Ti.Media.saveToPhotoGallery()

      To-Do:
      Remove usage of the following Java APIs for Android 10 and above...

      When using an external camera app, it would be better to let it save the photo to its default location and then use a Java ContentResolver to access the photo's InputStream.
      https://developer.android.com/training/camera/photobasics

      For saving a photo to the gallery...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Gary Mathews
                Tester:
                Sohail Saddique
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration