Skip to content

How does toga uses open_ File_ Dialog() on Android? #1990

Answered by mhsmith
wanglifeng95 asked this question in Q&A
Discussion options

You must be logged in to vote

Direct file access with those permissions doesn't work anymore in newer versions of Android, since they introduced "scoped storage".

Sorry about the readAllBytes error: I didn't realize that wasn't introduced until API level 33. I've edited the example to use read in a loop.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@wanglifeng95
Comment options

@mhsmith
Comment options

Answer selected by wanglifeng95
@wanglifeng95
Comment options

@mhsmith
Comment options

@wanglifeng95
Comment options

Comment options

You must be logged in to vote
2 replies
@freakboy3742
Comment options

@mhsmith
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants