NME is a free, open-source framework that enables development for iOS, Android, webOS, BlackBerry, Windows, Mac, Linux and Flash Player from a single codebase.
From http://www.haxenme.org/documentation/about/:
NME is a free, open-source framework that enables development for iOS, Android, webOS, BlackBerry, Windows, Mac, Linux and Flash Player and HTML5 Canvas from a single codebase. Unlike most cross-platform frameworks, NME applications are not written in a low-level language (like C or C++) and does not require a virtual machine or runtime (like Java and Adobe AIR) in order to run on a target platform.
NME projects are written in Haxe, which is a crossplatform, strictly-typed language which itself can be compiled into JavaScript, Flash, NekoVM, PHP, C++ and C#.