Hemisphere Games: "Our Apportable Android Experience"

Check out this post from Hemisphere Games on their experience using Apportable!

It’s been three equinoxes since Osmos launched on Android. In that time, quite a few developers have asked us about our porting experience, probably due to the quality of the port as well as the game’s success on the platform. Our answer: we worked with Apportable. “How was that?” people ask. Our answer is, in a word, “Great!”

The tl;dr version of this post is:

    • Apportable’s platform allows you to “cross compile” your iOS project into a native Android app. (A .apk which you can publish to Google Play, etc.)
    • Yes, it works. It’s kind of crazy.
    • The folks at Apportable are brilliant, professional, and downright decent.
    • You can now try their service for free, and depending on your app’s features, you may never need to pay them a penny.

Read on...

Apportable Raises $2.4M seed round led by Google Ventures

Today we are thrilled to announce that we’ve closed $2.4 million in seed funding from Google Ventures, Morado Ventures, Salesforce.com, and other angel investors.

What is Apportable?

The Apportable SDK cross-compiles Objective-C applications to Android, without extensive changes to the original codebase.  Unlike other cross-platform solutions, developers can use Apportable to build for multiple platforms without leaving the comfort of Xcode and iOS.  Using the same code on both platforms means better performance and fewer bugs, allowing developers to iterate on their app faster.

So how does it work?

Instead of translating the app to Java, Apportable cross-compiles the Objective-C code to machine code that runs directly on the Android device’s processor (no VMs were harmed in the execution of our code).  A platform library bundled with the app implements popular iOS APIs, so the app thinks its running in iOS.

Does Apportable convert source code to Java? Does Apportable emit Dalvik bytecode?

Absolutely not. All source is compiled to run on bare metal.  We compile source to ARM shared libraries, which is the way iOS apps are compiled.

My application is very complicated and has intense performance requirements.  Will it work with Apportable?

Our platform has been used with some very complex code bases. If you want to see some examples of apps that are powered by Apportable, check out Biophilia, Osmos, and more.

What APIs are available when using Apportable?

We support many APIs, more than could be listed here (usually it is just best to just try running the SDK on your app), but some of the common things we support include Objective-C 2.0, C++11, libdispatch, blocks, Objective-C literal syntax, ARC, Foundation, OpenGL, UIKit, StoreKit, GameKit... the list goes on and on.

How does Apportable’s UIKit work?

The current UIKit implementation uses Android’s views to render content, however we have a hardware accelerated QuartzCore backed version coming out soon.

Can I use Java?

Yes. This is purely optional, but you can call Android APIs and use custom Java classes in your Objective-C source code if you want, using our BridgeKit API (or pure JNI).

Where can I get the SDK?

www.apportable.com; the starter SDK is a free download.

Apportable has become the official Cocos2D sponsor

This guest post was authored by Lars Birkemose and cross-posted on the cocos2d-iphone forums.

I am very pleased to announce that Apportable has offered to sponsor Cocos2D. This effectively means, that cocos2d-iphone, is very much alive. It will now be possible to put some serious time into continuing the iOS/OSX branch of this amazing toolbox.

I think a moderate yay, is in place here.

I started using Apportable before I knew any of this was going to happen, and was immediately amazed with how well it worked. Those of you who actually read my rambling posts, will know, that I never have been a big believer in x-platform development. However, with Apportable I saw the possibility for continuing to use the best development tools, the best language, and the best community supported toolbox there is, and still being able to develop for Android. So I converted the java app I was struggling with to iOS, added the bluetooth java interface as Apportable described, clicked the big red button, and there it was. A fully working Android app.

When Riq asked me to take over Cocos2D, I did not hesitate to contact Apportable, to tell them that I thought Cocos2D and Apportable would make a perfect match. Luckily for us, Apportable felt likewise.

Cocos2D will continue to be a 100% free and community supported open source toolbox. Actually, I would like to put even more emphasis on all the stuff developed by the community. How that is carried out in practice, I am not certain about yet, but the idea I grapple with at the moment, is to break Cocos2D down into smaller, and more manageable components.

Right now I am busy winding down my contracted work, but during the next 4-6 weeks, things should slowly start to get into gear. My first big deadline will probably be, to be able to present a real goody-bag around the same time as that other API – what’s it’s name? Oh yeah, Sprite Kit – will be released.

Apportable SDK: Free Android support for cocos2d-iphone

Cross-posted from the cocos2d-iphone blog.

Kingdom Rush

Apportable allows developers to cross-compile Objective-C apps to Android, without maintaining a separate code base in Java. It is used by many top-rated games, including cocos2d-iphone titles like Kingdom Rush and Mega Run.

We are pleased to announce that Apportable is now offering a free version of our Android SDK for porting cocos2d-iphone apps. The Apportable Starter SDK includes:

  • Common frameworks used by cocos2d-iphone including Foundation, CoreFoundation, CoreGraphics, OpenAL, OpenGLES, libdispatch, and AudioToolbox.

  • Develop in Xcode! No need to create and maintain Android-specific makefiles.

  • A fully-functional debugger that can set breakpoints and invoke Objective-C methods.

  • The latest version of Clang with support for ARC, __weak, blocks, C++ 11, and more.

  • All the Objective-C runtime functions that you would expect, even swizzling, dynamic method injection, and block trampolines.

  • A more complete and compliant libc than the Android NDK.

  • Support for Android screen sizes with optional iOS screen size emulation.

  • Full Java support so you can call Android APIs and Java SDKs from Objective-C.

You can download the SDK today at www.apportable.com. Try compiling the open source sample apps, or give your own app a try. Deploy your cross-compiled apps to any Android store at no additional cost. And if you need even more awesome, we have a variety of upgrades available.

Let us know what you think in the comments or through Twitter (@apportable).

About the author: Collin Jackson is co-founder of Apportable, a San Francisco based company that helps developers build cross-platform apps in Objective-C.