Read Files

Monkey Targets Forums/Android/Read Files

Kele87(Posted 2012) [#1]
edit: fixed by the new patch !

hi,

i'm quite new to android development and i just got the full version.
i have created a little app for html5 and now i want to compile it
for android.

problem is:

if i try to read file data with LoadString (...) it won't work.
it can read the content in html5 but not at my android device.

ioPlus doesn't work as well it seems to be outdated
(every time i compile an app which imports ioPlus it doesn't
show anything - not even in html5 - even if i don't use any
function of ioPlus)

so my question:
what am i doing wrong ?
do i need to get any permissions to read file data of the main.data folder ?
if yes : which ? and how ?


edit:

if found it works without any permissions on a very simple example but not on my big program.
important to note is that i use the tile-reader of diddy and there is the bug. in tile.monkey when it reads the map it throws at

If Not xmlString
AssertError("Cannot load tile map file " + filename)
End


thanks a lot in advance

Best,
Kele87