[Questions]
Hello everyone,
I'm new here on the forums, but not new in programming.
Altough I have a few questions about 'Basic4Android'.
[SOLVED] How do you pick/select files with an open file dialog? and open them?
and also how do you show the selected text file and edit it and save it like in Notepad?
It's long time ago since I have used Visual Basic like style.
Most time I used Game Maker and I now switched to android. but there are some things i forgot.
for example: how do I work and interpretate the following URL: so how do I follow it
Basic4android - Dialogs
Something like this then: InputDialog.show("Save your file as *.$", "Save As.", "Save", "Cancel", "Return")?
and what do I have to declare?
[ANSWER] You need to use a library
--------------------------------------------------------------------------------------------------------
[SOLVED] New question:
k, I have a new question. I'd like input in my txtBox the following string:
<html xmlns="http://www.w3.org/1999/xhtml">
so this would look like this then
txtBox.text = "<html xmlns="http://www.w3.org/1999/xhtml">"
but the quotes collisions with the quotes used in the link.
so is there another method to do it like with tostring or something?
[ANSWER]
thank you very much!
XverhelstX
Hello everyone,
I'm new here on the forums, but not new in programming.
Altough I have a few questions about 'Basic4Android'.
[SOLVED] How do you pick/select files with an open file dialog? and open them?
and also how do you show the selected text file and edit it and save it like in Notepad?
It's long time ago since I have used Visual Basic like style.
Most time I used Game Maker and I now switched to android. but there are some things i forgot.
for example: how do I work and interpretate the following URL: so how do I follow it
Basic4android - Dialogs
Something like this then: InputDialog.show("Save your file as *.$", "Save As.", "Save", "Cancel", "Return")?
and what do I have to declare?
[ANSWER] You need to use a library
--------------------------------------------------------------------------------------------------------
[SOLVED] New question:
k, I have a new question. I'd like input in my txtBox the following string:
<html xmlns="http://www.w3.org/1999/xhtml">
so this would look like this then
txtBox.text = "<html xmlns="http://www.w3.org/1999/xhtml">"
but the quotes collisions with the quotes used in the link.
so is there another method to do it like with tostring or something?
[ANSWER]
B4X:
txtBox.text = "<html xmlns=" & QUOTE & "http://www.w3.org/1999/xhtml" & QUOTE & ">"
B4X:
txtBox.text = "<html xmlns=~http://www.w3.org/1999/xhtml~>".Replace("~", QUOTE)
thank you very much!
XverhelstX
Last edited: