I am trying to open a file (external) with own format (for example .abc) with my app through this code but when I access the file it is not available, is it posible with this way?
] iUI8 v1.60 adds a new type named DocumentPickerViewController. This picker allows the user to choose an external document. The document will be imported (copied) to your app file system. Example: Sub Page1_Click DocumentPicker.InitializeImport("picker", Array("public.image"))...
www.b4x.com
B4X:
Dim DocumentPicker As DocumentPickerViewController
DocumentPicker.InitializeImport("picker", Array("public.abc")) 'own format
DocumentPicker.Show(B4XPages.GetNativeParent(Me), lbl)
Wait For Picker_Complete (Success As Boolean, URLs As List)
If Success Then
Log(URLs)
End If
I open the file from the app itself, with the json extension it works correctly but if it has another extension the file is not available and cannot be opened
After combining several tutorials from Here and the Stack Overflow I ended up with a working solution and this is the minimum required to make the following work: 1. registering custom file extension so the other apps like email and messaging clients become aware of 2. registering your app and...