It was my first kindlet, probably there is some simpler way to port a java swing app.
Most of the code i wrote was to optimize the repaint of the screen only when necessary and only on the portion of the screen that has changes.
If you can accept to repaint the whole screen frequently, the porting is simpler.
However, remember that e-ink displays are slow, so only "static" games/app (like board games) can be easily ported
Another thing is that kindle's jvm has a smaller api set compared to the JREs used from many of the GPL apps you can find internet
Last edited by encol; 12-26-2016 at 08:12 AM.
|