Android Question ContentResolver - openInputStream is missing

Alexander Stolte

Expert
Licensed User
Longtime User
Hey,

i found on stackoverflow this thread:

The first answer is, to use the ContentResolver.openinputstream:

Why is this missing in B4A?
 

Alexander Stolte

Expert
Licensed User
Longtime User
'in ContentChooser event.
so?
B4X:
Dim cc As ContentChooser
cc.Initialize("cc")
cc.Show("*/*", "Select file to be upload.")
wait for cc_Result (Success As Boolean, Dir As String, FileName As String)   
File.OpenInput(Dir, FileName) 'in ContentChooser event.
 
Upvote 0
Top