M mantracourt Member Licensed User Longtime User Oct 31, 2018 #1 In a B4i app I created some resource files to later loading using File.ReadMap and these worked fine using the format key:value key:value key:value etc These were placed in the DirAssets folder and loaded into the project and compiled. At runtime ReadMap was used to extract this data from the pre-existing resource files into a map object. Now I am trying to do the same thing with an IOS app using B4i and ReadMap does not retrieve any data from the file! The files exist and no error occur but the map is just empty. Has the format of the file changed between B4A and B4I?
In a B4i app I created some resource files to later loading using File.ReadMap and these worked fine using the format key:value key:value key:value etc These were placed in the DirAssets folder and loaded into the project and compiled. At runtime ReadMap was used to extract this data from the pre-existing resource files into a map object. Now I am trying to do the same thing with an IOS app using B4i and ReadMap does not retrieve any data from the file! The files exist and no error occur but the map is just empty. Has the format of the file changed between B4A and B4I?
M mantracourt Member Licensed User Longtime User Oct 31, 2018 #2 I just tried replacing colons with equals and it now works. i.e instead of key:value use key=value Upvote 0