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

Add DocumentsProvider for Android. #1998

Merged
merged 1 commit into from
Jul 30, 2022
Merged

Add DocumentsProvider for Android. #1998

merged 1 commit into from
Jul 30, 2022

Conversation

sakisakira
Copy link
Contributor

In Android 11 and later, file access from the other app got strict. So we cannot edit files under the home directory of TIC-80.
This PR will enable to edit source code file under the home directory of TIC-80 by any Android text editor with Storage Access Framework.
https://developer.android.com/guide/topics/providers/document-provider?hl=en
Screenshot_20220730-224015
Screenshot_20220730-224028

These screenshots are of the file open dialog of a text editor app (Jota+). I confirmed that I can edit hello.rb with the app and then the editing result is affected by pressing Ctrl-R on TIC-80.
I expect this PR might solve some part of #1540

Copy link
Owner

@nesbox nesbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, finally someone did it 😄
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants