“Rewriting the same game code over and over got you down? PlayN may be the technology for you! PlayN is a cross platform game library that allows you to create a single Java code base that runs in HTML5, Java, Android and Flash.”
Introducing PlayN (by GoogleDevelopers)