Android Question How to find a Custom file type in Content Chooser

alvin1929

Member
so i have a custom file type with an extension of ".bind" I use content chooser and it works fine. The only problem is i cannot select my customized file type.
I tried this

B4X:
CC.Show("application/bind", "Choose pdf")
 

alvin1929

Member
Yep. I just used
B4X:
CC.Show("*/*", "Choose file")

and work it out with
B4X:
If Success And filename.IndexOf(".bind") > -1 Then

....

In this case, it could determine whether the selected file has a ".bind" in it
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top