It is very easy with LibGDX to implement a screenshot feature within your game. The idea is to create an array of bytes where each byte represent a pixel color, and them, line per line, fill the array sequentially with pixels color values. Then return as a Pixmap this array and use PixmapIO.writePNG to write the file on the file system.
Month: June 2015
In order to release an APK for application market, two steps are necessary before publishing:
- zip aligned
- APK signing
When using the gitter8 template from AJHAGER, the SBT build task was not activating this two steps.
After some research and lot of tries, I finally succeed to setup my keystore in the build scripts and get a signed-aligned APK