W
Wraithious
Guest
Android export module
So if I build my project APK and run it, when I save a screenshot, either using screen_save or screen_save_part it doesn't save anything, also won't save even a text file, but if i compile the game and test it it works fine, any sugestions?
some info:
I have 2 extensions in my project, one for bringing up text and one for bringing up media files (which the 2nd extension doesnt work but that's another problem)
Im using gamemaker studio early access v1.99.493
tried cleaning project and save project, and force stop in app on phone and deleted app from phone after that and then build project
also noticed if i install the app from downloading the apk from my computer it says "no special permissions are required, install?" but I have WRITE_EXTERNAL, BLUETOOTH, and INTERNET checked in android tab of game preferences.
the code is pretty simple so I'll post it:
in alarm event:
when I only compile it, (it works fine) this is the address saved in the text file
Creation.txt:
Roadhammer Gaming\Mergery\test0.png
If I build my game, I put a check in there to display what the text file would tell me if it created it, I get the exact same thing, only displayed on screen: Roadhammer Gaming\Mergery\test0.png so I don't understand what is wrong here unless the extensions I downloaded are somehow interfering, If I have to I'll delete them to test it that way but i really dont want to do that if it's only something I'm doing wrong
So if I build my project APK and run it, when I save a screenshot, either using screen_save or screen_save_part it doesn't save anything, also won't save even a text file, but if i compile the game and test it it works fine, any sugestions?
some info:
I have 2 extensions in my project, one for bringing up text and one for bringing up media files (which the 2nd extension doesnt work but that's another problem)
Im using gamemaker studio early access v1.99.493
tried cleaning project and save project, and force stop in app on phone and deleted app from phone after that and then build project
also noticed if i install the app from downloading the apk from my computer it says "no special permissions are required, install?" but I have WRITE_EXTERNAL, BLUETOOTH, and INTERNET checked in android tab of game preferences.
the code is pretty simple so I'll post it:
in alarm event:
Code:
global.savename="Roadhammer Gaming\Mergery\"+global.str4+string(global.namenum)+".png";
screen_save_part(global.savename,(global.xboarder),(global.yboarder),(global.xfarboarder-global.xboarder),(global.yfarboarder-global.yboarder));
smypic2=file_text_open_write("Roadhammer Gaming\Mergery\pic_numb2.txt");
file_text_write_real(smypic2,global.namenum);
file_text_close(smypic2);
smyname=file_text_open_write("Roadhammer Gaming\Mergery\Creation.txt");
file_text_write_string(smyname,global.savename);
file_text_close(smyname);
global.namenum+=1;
Creation.txt:
Roadhammer Gaming\Mergery\test0.png
If I build my game, I put a check in there to display what the text file would tell me if it created it, I get the exact same thing, only displayed on screen: Roadhammer Gaming\Mergery\test0.png so I don't understand what is wrong here unless the extensions I downloaded are somehow interfering, If I have to I'll delete them to test it that way but i really dont want to do that if it's only something I'm doing wrong