Google Makes Porting Apps Between iOS and Android Easier With New Software Tool
Google has just launched a new tool that makes it easier to port software between iOS and Android, the two major mobile platforms out there. What this tool does is convert Java code for Android into Objective-C code, that can be compiled to run on iOS devices. J2ObjC is apparently the name of the software and this must not be seen as a Java emulator, according to people close to the matter.
In a more detailed view, the tool converts Java classes to Objective-C classes, that directly use the iOS Foundation framework. This new release handles only the back end of the cross platform working and developers who use the software to translate their apps will still need to write new UI code in Objective-C. J2ObjC helps developers code the non-UI functionality in Java and then compile potions of the apps for both Android and iOS in a single code base, instead of separating code trees for the platforms.
J2ObjcC is also compatible with most build tools, like Xcode and Make and the translation from Java to Objective-C is automated. The tool supports the full Java 6 language and many of its key runtime features, like exceptions, threads, reflection, anonymous classes and more. Google says the project is between alpha and beta quality, so be patient with it.