Hi everyone,
I am tired... I have problems with extractzip and opentoread after build my apk for android.
My apk file has a zip file (images) and txt files with the stage of my game in folder assets/media. If i install my apk in my phone the application is closed...
I have tried this simple example and the aplication is closed:
Setvirtualresolution(640,376)
opentoread(1,"a.dat")
for i=0 to 1000
b=readbyte(1)
print(b)
sync()
sleep(500)
next i
end
If I use AppGameKit player (my current version is 1.08 beta8), i don't have any problem, but with my apk, the app is closed. If I write a file and then I read this file, the apk works fine.
What am i doing wrong?
Thanks