jerdog · Sep 16, 2012 at 11:00 am

Google Tool Helps Developers Port Android Apps to iOS

If you’re an app developer who has created apps for Android and put them on Google Play, you no doubt have seen the advantage of creating applications for the largest mobile OS. Maybe you would like to “share the love” with users of that other mobile OS but you aren’t familiar with Objective-C, so you have chosen to stay away from it.

There exist many tools out there to help you convert JAVA to Objective-C, with differing results. Given that JAVA and Objective-C are almost worlds apart, trying to port or convert can be time consuming, as you’ll have to sift through the bytecode and error-output. Google however has created a tool, called J2ObjC, which will convert your JAVA classes to Objective-C classes, thus directly utilizing the iOS Foundation Framework. Essentially the tool allows JAVA code to be part of an iOS application.

Here’s what they have to say about it:

J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables Java code to be part of an iOS application’s build, as no editing of the generated files is necessary. The goal is to write an app’s non-UI code (such as data access, or application logic) in Java, which is then shared by web apps (using GWT), Android apps, and iOS apps.

The tool supports most JAVA language and runtime features, but is not guaranteed to work with all possible ways of using JAVA. The tool does not provide the developer with a platform-independent UI toolkit, so you still would need to use native iOS UI code, but this is a great step for developers looking to make cross-platform applications. Make sure to visit the project page for information on using the tool.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:
GermainZ · Jan 30, 2015 at 09:29 pm · no comments

Send Links to Any Nearby Device with CaastMe

There already are many solutions on the Google Play store if you want to send a link to one of your devices -- but what if you wanted to do it quickly without having to install any software or logging in to a website on the recipient end? Most apps require you to do either or both, which can be a hassle (or even a security risk) in some cases. Luckily, XDA Forum Member wyemun has developed CaastMe. Inspired by...

XDA NEWS
Mario Tomás Serrafero · Jan 30, 2015 at 03:39 pm · 3 comments

The Witcher Battle Arena: Hectic Multiplayer MOBA Fun

Do you like MOBAs? Do you like gaming on your phone? Given that MOBAs (multi player battle arenas) have amassed millions upon millions of players, there's a chance you play LoL or DOTA. And here at XDA we love phones, and we spend a lot of time on them, so if you were to like gaming outside of smartphones you probably like some on them too. I personally like neither, and I simply download the latest 3D games to see the progression...

XDA NEWS
Mario Tomás Serrafero · Jan 30, 2015 at 01:37 pm · no comments

LG G4 Could Feature a… 3K Display?

According to myLGphones, a version of the LG G4 will not feature neither a 2K nor a 4K display - but 3K. If you are anything like me, your reaction to this news will be confusion. While we don't have many details about the sources of this leak, it has apparently been confirmed true by a poster at hardare.fr that gave some more details on model names for each version of the upcoming LG flagship. However, these leaks don't point towards all G4...

XDA NEWS