Objective-C and Android

Posted by Tom R on Stack Overflow See other posts from Stack Overflow or by Tom R
Published on 2010-03-06T21:56:17Z Indexed on 2010/03/13 1:17 UTC
Read the original article Hit count: 566

Filed under:
|
|
|
|

I've just finished a relatively large project for the Android, and it's left a bitter taste in my mouth with the knowledge that it will never run on one of the most ubiquitous handsets this side of the solar system (the one by that fruity little club).

So, for my next project, I want to write it in a way that makes most of the components easily transportable between the iPhone and Android platforms. The way I'm thinking of doing this is by coding most of it in Objective-C, and then adding the platform-specific parts in more Objective-C and Java respectively. On the Android side, this will require using the the NDK.

My knowledge of C is good, but my knowledge of Objective-C is close to zero, and I have no desire to learn C++. How sane is the approach above, and is there a better one? Is there any way I can code in Java and still reach the un-hacked iPhone market? And how likely is it that the people I know (iPhone users) will have an Android phone by next year?

© Stack Overflow or respective owner

Related posts about android

Related posts about iphone