Android Question How to display the contents of text file with different color,font,background?

IslamQabel

Active Member
Licensed User
Longtime User
Dear All, After i checked tutorial of Text files, So i made a code that i can read the help from a files stored in "Files" folder instead typing a very long help in Msgbox..
B4X:
Sub Activity_Create(FirstTime As Boolean)

Activity.AddMenuItem("HELP","MenuHelp")
End Sub


Sub MenuHelp_click
    Msgbox(File.ReadString(File.DirAssets, "help.txt"), "Help")
End Sub

anyone can help

Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…