Hello everyone , I have a working game in the market, and I only tested it on my phone wich is a samsung galaxy android 2.2
the thing is, some of the users are saying that their phones do not save the levels, and that means that my save system is not working on their phones.
Problem is, I do not know what phone they have or what version of android they are using , i know for a fact that the xpria x10 mini does not save the file, but I have no idea why.
the code I use to save the files I need is the following
String[] cX = new String[nMax];
for (n=0; n<nMax;n++) {
if (hitX[n]!=0) {
hitX[n]=width/hitX[n];
}
cX[n] = hitX[n]+"";
}
saveStrings("x.txt", cX);
String[] cY = new String[nMax];
for (n=0; n<nMax;n++) {
if (hitY[n]!=0) {
hitY[n]=height/hitY[n];
}
cY[n] = hitY[n]+"";
}
saveStrings("y.txt", cY);
}
But loading from the files i initially give them its all fine:
Basicly loadStrings and saveStrings work fine on my phone samsung galaxy S,v 2.2.0, but i do not know why it doesnt work on some phones, and i actually do not know if it has to do with android version or not.
Anyone ever had a similar problem?
thats the link to the free demo of my game , please download,play it and tell me if your phone saves, if it does not, please tell me the make of your phone and the android version, I really need to get this sorted!
You can play them at that location and you can either leave feedback there , or here.
Im the coder of those games while the art is done by a colegue of myne , everything was done in processing and both games are ready to be put and played on the android phone.
Please help me and test the games for bugs, playability issues or suggestions.
Hello everyone , long time reader, first time poster.
Im developing a game for the android.
Theres a highscore and for now thats the only string i want to be able to save for obvius reasons.
I can do the loadString function and it grabs whatever i had when i turned my skecth into an app, but the saveString function does not work on the phone , and it does work on the desktop.
Althou on the desktop when it saves it , it saves on the skecth folder and not on the data folder, but if I add a path to the saveString function , the phone gives me an error.
Anyone knows a clean and short way of doing what I need there?