DarkTom_Dj
(Tomás Barak)
October 31, 2020, 2:00am
#1
Hi @taifun !
I was making a pdf picker app, using the activity starter component
Action: android.intent.action.GET_CONTENT
Data type: application/pdf
When I select a pdf file, i use the After Activity block:
After the activity i have used the Activity_starter.Result URI, but when I try to convert the Result URI to FileName using this block:
I got an * nothing * value from this block.
Please help me.
Thanks,
-Tomas Barak
Boban
(Boban Stojmenovic)
October 31, 2020, 9:13am
#2
What I know of, that block is broken and returns nothing, use FileTools : Some tools to work with files
1 Like
DarkTom_Dj
(Tomás Barak)
October 31, 2020, 3:13pm
#3
Okay, thanks you @Boban !
I think it’s a problem with Android 10, I was searching and I found that Android Q (Android 10) uses a little diferent FileURI with the downloaded files, but with not downloaded files, for example: Documents, camera, etc. It uses the normal FileURI, and works fine.
Thanks,
-Tomas Barak
system
(system)
Closed
November 30, 2020, 3:13pm
#4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.