Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Save Images on Android 10 #490

Closed
AEFeinstein opened this issue Sep 19, 2019 · 1 comment
Closed

Can't Save Images on Android 10 #490

AEFeinstein opened this issue Sep 19, 2019 · 1 comment
Assignees
Labels

Comments

@AEFeinstein
Copy link
Owner

AEFeinstein commented Sep 19, 2019

Permissions changed, again, so now Familiar can't write to the DCIM folder like it used to. This affects saving and sharing images.
https://developer.android.com/training/data-storage/files/external-scoped

Looks like the answer is to use MediaStore.Images.Media to write images instead.

@AEFeinstein
Copy link
Owner Author

This affects saving backup zip files too

AEFeinstein added a commit that referenced this issue Jan 22, 2020
ZipUtils now saves and loads from Familiar's internal directory
ZipUtils now shows a more useful error message including file name and directory for a long time
AEFeinstein added a commit that referenced this issue Jan 22, 2020
Remove permission check now that it uses getFilesDir()
Delete old backup file before backing up internal storage
Display snackbar when backing up for XLONG
AEFeinstein added a commit that referenced this issue Jan 22, 2020
Remove unused imports
AEFeinstein added a commit that referenced this issue Jan 22, 2020
Removed extraneous return
Added try-with-resources for getMediaStoreInfo()
AEFeinstein added a commit that referenced this issue Jan 22, 2020
#490 Rework image saving to use the MediaStore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant