J2ObjC: Google to bring a Tool that conjoins Android and iOS app development

Finally the development woes are gone with Google bringing a tool with capability to port Apps between two major Smartphone platforms, namely Android and iOS! The tool’s utility aims at converting a Java Code for Android into Objective-C code that can be used for compiling iOS Apps. Therefore on a deduction, it will act as a easier pathway to port software from the Android platform to run on Apple iOS devices. It is regarded as being called J2ObjC.

A report presented from Tom Ball sketches the goal of this particular tool. It remarks the conversion of Java classes to objective C classes which are using the iOS Foundation Framework. This task portrays the tool as not being just a usual Java emulator.

The tool is understood to handle the backend i.e. developers who had the work to translate their apps, still need to write new UI code using Apple’s SDK. In this manner, the tool’s entire affirmation doesn’t link itself exorbitantly as cross platform functionality. Solving the purpose is elbow grease of the J2ObjC. Usage of J2OBJC can act as an assistant because it works with most of the build tools namely Xcode and Make. The fact that aids in this support is the automation part for the translation from Java to Objective-C.
J2objc tool by Google
Pressing into service with J2OBJC, the developers have the ability to code the non-UI functionality in Java and rather than employing or maintain a separate code tree for each platform; compile versions of Android and iOS  Apps’s portion can be transported from a single code base. Also additionally, the Google Web Toolkit (GWT) is a furtherance as a conversion Java code into JavaScript to run in the browser.

The major advantages that catch the glimpse for the usage of the J2OBJC are the following:

  • Supports Java 6 language and many runtime features
  • Includes exceptions, threads, reflections, generic types
  • Also includes inner anonymous classes
  • It can also model Java style memory management in Objective-C
  • Presents a list of translation features available: https://code.google.com/p/j2objc/wiki/JavaConversions

To make the most of and capitalize on this, the system requirements include the developers employing a machine running Mac OS X 10.7(lion) or higher; Xcode 4 or higher and JDK 1.6 installed with the inclusion of Apache Maven. With representation and notifications from the statements, Google officiates that currently the project performance strives between between Alpha and Beta quality and with providing the initial release version number 0.8 as a status.