On windows I can use on the main.cpp
eglView.init("TestCPP",960,640);
But how can I set/change the solution on Android?
On windows I can use on the main.cpp
eglView.init("TestCPP",960,640);
But how can I set/change the solution on Android?
Why do you want to change it on Android?
I have written a windows desktop game which use a windows size of:
eglView.init("TestCPP",480,800);
When I compile it for Android part of the ‘game’ window is outside of the screen.
On a windows desktop I can change the windows size (It has a portrait format with x = 400, y = 800) .
So my leason to learn:
I cannot change the screen size on Android like on Windows Desktop.
I have to use the ‘default size’ and adapt the game screen to this one on Android?