Compile Objective-C iOS codebase for Android devices (Porting)

[)roi(]

Executive Member
Joined
Apr 15, 2005
Messages
6,282
Reaction score
405
Location
The Apportable platform converts iOS games to Android automatically, without extensive changes to the original Objective-C or C++ code.

The results speak for themselves: apps powered by Apportable have risen to the top of the charts and delighted millions of users through the Google Play Store, Amazon Appstore, Samsung Apps, and the Humble Android Bundle.

Apportable's mission extends beyond the Android platform — our goal is to enable developers to quickly bring their applications to ANY mobile device, without compromising quality or performance.

Abstracting Android specific code is easy; by using standard Objective-C compiler tags

Code:
#ifdef ANDROID
   // Code to adjust iOS code set to fit variable Android device screen size.
   [UIScreen mainScreen].currentMode =[UIScreenMode emulatedMode:UIScreenBestEmulatedMode];
   ...
#endif

Here's a list of some of their customer's iOS Apps that have been ported to Android.
http://www.apportable.com/customers

A free version of the SDK is also available; the installation is fairly simple and also includes the full install of Google's Android SDK.

What you need:
  • Android Device to test the ported App (btw the free version only supports 4.0+, paid versions covers 2.2+)
  • Mac computer and XCode (you should already have this)
  • Good internet & unlimited data connection (The apportable install includes the Google Android SDK; so be prepared for a lot of Gbs)

Has anybody else tried this...?
So far my limited tests all seem successful (feels a little too good to be true)
 
I looked at doing this awhile ago, but had problems getting the Android env working on my windows 7 desktop. I was pushed for time so canned the idea. I might revisit this later, but atm I'm looking at the new features in iOS 7. I have a few other iOS ideas I'm working on as well.
 
I looked at doing this awhile ago, but had problems getting the Android env working on my windows 7 desktop. I was pushed for time so canned the idea. I might revisit this later, but atm I'm looking at the new features in iOS 7. I have a few other iOS ideas I'm working on as well.
This solution provides a way to keep your code in Objective-C / Xcode and compile to Android (xcode means Windows is out of the question?)

On further examination; the free version of this software supports a very limited set of iOS frameworks, and the next step up is very expensive ($1000 per year -- what are they smoking?)

They unfortunately shoot themselves in the foot with this crazy pricing :wtf: as the only developers able or willing to spend this sum could be someone whose already hit it financially big on iOS; even then it's still exorbitant.

I would have expected their pricing to be more inline with something like Xamarin ($299)

On iOS7; Like you I'm also quite focused on working through the changes; with specific interest in SpriteKit and mFi game controller frameworks.
 
Their target market is not the 1 man show. A lot of apps are free apps written by large corporations to give customers an alternative route into their online stores. This includes banks, insurance companies and the large retailers.

They will want apps for all major mobile platforms. $1000 a year is cheap if it means 1 less developer they need to employ. Not saying they don't need an Android/Java developer but chances are they already employ java devs and this tool just makes the port easier.
 
Top
Sign up to the MyBroadband newsletter
X