Android Question How to save file as html file in Text editor

Theera

Expert
Licensed User
Longtime User
Hi all,
Today I have studied this . I wish to save file as html file ,but it saved as test.html.txt.
Please someone to help me learn the code.

Best Regards
Theera
 

Theera

Expert
Licensed User
Longtime User
Change the SaveAs line to:
B4X:
Wait For (FileHandler1.SaveAs(in, "text/html", "NewFile.html")) Complete (Success As Boolean)
Please let me to compile FileHandler.bas for my private library. I think it can use other cases i.e. save as picture file with the camera tutorials(save as jpg file or png file.) Do you have any addition advises for me?
 
Upvote 0
Top