Speakers Slides & Videos
Android Hands-on
Emerging Languages Camp
Cloud Summit
Scala Summit
What's Free at OSCON
OSCON Blog
Info & Exhibitors
Cross-Compiling Android Applications to the iPhone
Arno Puder (http://www.heise.de/)
11:30am Thursday, 07/22/2010
Location: D139/140
Tags: android, iphone, compilers
Smart phones such as Google's Android and Apple's iPhone have become popular devices for mobile applications. In particular, both devices allow the development of native applications that can take advantage of special purpose hardware such as accelerometer or GPS. While similar in capabilities, smart phones differ greatly in the way native applications have to be written for them. Google's Android is based on Java with an Android-specific set of widgets, while Apple's iPhone only supports Objective-C as the programming language of choice. In fact, Apple explicitly prohibits Java virtual machines on the iPhone per license agreement. Objective-C and Java are two radically different programming languages. While Java features strong typing and garbage collection, Objective-C supports dynamic typing but no garbage collection. In this presentation I will describe a technique how Java-based Android applications can be cross-compiled to native iPhone applications. We will demonstrate how Java can be cross-compiled to Objective-C and how the Android API can be mapped to the iPhone-specific Cocoa API. One specific outcome of our work is that native iPhone applications can also be developed in Java. Several demos will be given throughout the presentation. The source code is available under an Open Source license at http://xmlvm.org.
People planning to attend this session also want to see:
Building Mobile Apps with HTML, CSS, and JavaScript
Android: The Whats and Wherefores
HTML5's Multimedia Future
PhoneGap 101: Is PhoneGap Right for Your Mobile Development Project?
Arno Puder
http://www.heise.de/
Arno Puder is an Associate Professor at the San Francisco State University. Prior to his current position, he worked for AT&T Labs Research and Deutsche Telekom AG. His interests include middleware, ubiquitous computing, and applications for sensor networks. He is one of the founders of the Open Source CORBA implementation called MICO.
Personal schedule
Premier Platinum Sponsor
Premier Media Partner
For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at scordesse@oreilly.com
Download the OSCON Sponsor/Exhibitor Prospectus
Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@ oreilly.com
OSCON Newsletter
To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON Newsletter (login required)
OSCON 2.0 Ideas
Have an idea for OSCON to share? oscon-idea@oreilly.com
O'Reilly Home | Privacy Policy | Contact Us | Sitemap | conf-webmaster@oreilly.com
© 2010, O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938