Comment
Comment by venusiant
You might want to write the common elements in C or C++ (or whatever language you like that can be compiled into a static library), then write separate glue code for each platform. This is one tutorial that describes the technique: http://www.skyscanner.net/blogs/developing-mobile-cross-plat...