Hi,
I’m working on a career app at the moment where you can take some tests. I learned Blitz Basic once and Cerberus seemed to be the faster way to program it instead of learning Java etc.
The building to HTML 5 and Android (after some troubles) works so far.
For HTML5, I've set the resolution to 1080 x 1920 by editing the config file. Works.
To my shame, I don't use a bitmap font, instead I saved all the buttons and answer texts in .png files (which I edit with Word and Paint). Originally, I just wanted to do a showcase, meanwhile I thought about coding the whole app by myself.
My thought/hope was that the phones would scale everything to the resolution I set automatically, so right now the positions of the buttons are hard-coded.
I copied the whole android build folder and installed the app on this three phones:
1.) Samsung Galaxy A7 (2017)
2.) Samsung Galaxy S6 edge
3.) Samsung SM-G357FZ (pretty old one)
Number 2, the S6, works fine, everything is scaled to 1080x1920 (but maybe it's just because that's the original resolution by luck).
On the old phone, the App doesn't start, which isn't tragic right now.
But on the A7, the resolution is set to 810 x 1571 which I can't explain. It should at least be 1080 x 2220 because that's the original resolution of the A7 as far as i know.
Question 1: Where can I set the resolution for Android? Is using a canvas the right way (which I'm not at the moment)?
Second question is, on both phones (A7 and S6), the app screen doesn't turn off (like usually after some time to save energy). It just stays on the whole time. Do you know why?
And a third question: My whole android-build folder is now about 30 MB. Do I need all of this when uploading to Play Store?
Greetings
Benny
I’m working on a career app at the moment where you can take some tests. I learned Blitz Basic once and Cerberus seemed to be the faster way to program it instead of learning Java etc.
The building to HTML 5 and Android (after some troubles) works so far.
For HTML5, I've set the resolution to 1080 x 1920 by editing the config file. Works.
To my shame, I don't use a bitmap font, instead I saved all the buttons and answer texts in .png files (which I edit with Word and Paint). Originally, I just wanted to do a showcase, meanwhile I thought about coding the whole app by myself.
My thought/hope was that the phones would scale everything to the resolution I set automatically, so right now the positions of the buttons are hard-coded.
I copied the whole android build folder and installed the app on this three phones:
1.) Samsung Galaxy A7 (2017)
2.) Samsung Galaxy S6 edge
3.) Samsung SM-G357FZ (pretty old one)
Number 2, the S6, works fine, everything is scaled to 1080x1920 (but maybe it's just because that's the original resolution by luck).
On the old phone, the App doesn't start, which isn't tragic right now.
But on the A7, the resolution is set to 810 x 1571 which I can't explain. It should at least be 1080 x 2220 because that's the original resolution of the A7 as far as i know.
Question 1: Where can I set the resolution for Android? Is using a canvas the right way (which I'm not at the moment)?
Second question is, on both phones (A7 and S6), the app screen doesn't turn off (like usually after some time to save energy). It just stays on the whole time. Do you know why?
And a third question: My whole android-build folder is now about 30 MB. Do I need all of this when uploading to Play Store?
Greetings
Benny
Last edited: