Hi how can i open one text file via intent and put the text of file on my edittext1 ?
EX: when user press a button , open intent to user select the text file, he select and the text of file go to my edittext, like filedialog
This dont works
ACTION_VIEW
ACTION_PICK
dont work too
EX: when user press a button , open intent to user select the text file, he select and the text of file go to my edittext, like filedialog
B4X:
Dim i As Intent
Dim fn As String
fn = "file://" & target
i.Initialize(i.ACTION_EDIT, fn)
i.SetType("text/plain")
StartActivity(i)
This dont works
ACTION_VIEW
ACTION_PICK
dont work too