Cross-Compiling Android Applications to other Smartphones
Smartphones 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 accelerometers or GPS. While similar in capabilities, smartphones 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 promotes Objective-C as the programming language for the iPhone. Microsoft is entering the smartphone market with the Windows Phone 7 (WP7) device whose applications are based on .NET. In this presentation we will describe a technique how Java-based Android applications can be cross-compiled to other smartphones. We will focus on the iPhone as the target platform and discuss plans to expand our work to WP7. The source code of our cross-compiler is available under an Open Source license at http://xmlvm.org.
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 the founder of the Open Source project XMLVM, a byte-code level cross-compiler.