I am trying to design a game engine that would be able to run on desktop, as an
applet and as an Android application. I know I cannot have the exactly same file in all three cases due to different formats (e.g. Android's Dalvik VM requires DEX files not supported by Oracle's JVM) but I can at least try to make code that, if compiled properly, could do the trick.
However, I am afraid that some libraries might not be available on all three platforms. Thus I plan to define interfaces in my engine and only use them in further development and make different platform-specific implementations of those interfaces. When the application is launched, the interface is hooked to a correct implementation, e.g. the graphics interface would have Swing, OpenGL and Android OpenGL implementations. However, according to this
thread Android may not fully implement all of
Java API packages.
What other packages may not be available on Android or in applet environment? What packages are guaranteed to be fully supported in all three cases?
Thanks in advance