Problem with ResultUri and ResultName when Pick a file with activity starter...

374 views
Skip to first unread message

Marcello Vacca

unread,
Jul 23, 2015, 2:40:09 AM7/23/15
to MIT App Inventor Forum
Hi

when i try to pick an audio file using activity starter in the ResultUri there is path of file but not the name, why?

for example: 

files name: \media\bong.ogg

Result Uri: \media\4578

Also in the ResultName there isn't nothing (empty string)....

Help please....

Thanks

Marcello

Taifun

unread,
Jul 23, 2015, 10:34:47 AM7/23/15
to MIT App Inventor Forum, yumeet1...@gmail.com
this depends on the file manager app you are using 
so which one do you use? 

see also
Taifun

Marcello Vacca

unread,
Jul 24, 2015, 2:52:34 AM7/24/15
to MIT App Inventor Forum, taifu...@gmail.com
Hi Taifun,

I use ES File Explorer...

But the problem is that I don't know which "files explorer" use other peoples...!

How can I check if the user has selected the file with the right extension...??

In the "Result Uri" there isn't real name of the file....!

I can't use your code....




Taifun

unread,
Jul 24, 2015, 11:47:48 AM7/24/15
to MIT App Inventor Forum, yumeet1...@gmail.com
it seems to be, the example does not work for all file explorer
unfortunately there is no solution for ES File Explorer then
I will add a note on my webpage. Thank you.
Taifun
Reply all
Reply to author
Forward
0 new messages