E Ellen Wu Member Licensed User Dec 6, 2019 #1 How to read strings from a xml file that defines some values? I refered to the thread https://www.b4x.com/android/forum/threads/localize-your-app-using-androidresources.19165/ for B4A, is there any similar way to apply for B4i?
How to read strings from a xml file that defines some values? I refered to the thread https://www.b4x.com/android/forum/threads/localize-your-app-using-androidresources.19165/ for B4A, is there any similar way to apply for B4i?
Semen Matusovskiy Well-Known Member Licensed User Dec 7, 2019 #2 It's possible to read xml file as string (File.ReadString) and to parse it using Xml2Map. Personally I prefer JSON. Upvote 0
It's possible to read xml file as string (File.ReadString) and to parse it using Xml2Map. Personally I prefer JSON.
Erel B4X founder Staff member Licensed User Longtime User Dec 8, 2019 #3 Cross platform localization solution: https://www.b4x.com/android/forum/t...localize-your-b4x-applications.68751/#content Semen Matusovskiy said: It's possible to read xml file as string (File.ReadString) and to parse it using Xml2Map. Click to expand... That's the best way to read XML. Upvote 0
Cross platform localization solution: https://www.b4x.com/android/forum/t...localize-your-b4x-applications.68751/#content Semen Matusovskiy said: It's possible to read xml file as string (File.ReadString) and to parse it using Xml2Map. Click to expand... That's the best way to read XML.