Abstract
Cross-platform frameworks for mobile devices promise to facilitate the porting effort of applications between different smartphones. Our approach is to cross-compile Android applications to other platforms such as iOS or Windows Phone 7. Doing so requires to refactor the Android source code base in a platform-dependent and platform-independent part separated by a Common Platform API. This paper discusses the cross-compiling of Java-based Android applications and the design and implementation of the Common Platform API.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
The Android Open Source Project. Dalvik eXchange (DX), http://www.git//android.git.kernel.org/platform/dalvik.git
ECMA. C# Language Specification, 4th edn. (June 2006)
El-Ramly, M., Eltayeb, R., Alla, H.A.: An Experiment in Automatic Conversion of Legacy Java Programs to C#. In: ACS/IEEE International Conference on Computer Systems and Applications, pp. 1037–1045 (2006)
Google, Inc. The Dalvik virtual machine, http://en.wikipedia.org/wiki/Dalvik_virtual_machine
Kochan, S.: Programming in Objective-C, 4th edn. Addison-Wesley Professional (December 2011)
Lindholm, T., Yellin, F.: The Java Virtual Machine Specification, 2nd edn. Addison-Wesley Pub. Co. (April 1999)
Puder, A.: Running Android Applications without a Virtual Machine. In: Venkatasubramanian, N., Getov, V., Steglich, S. (eds.) Mobilware 2011. LNICST, vol. 93, pp. 121–134. Springer, Heidelberg (2012)
Puder, A., D’Silva, S.: Mapping Objective-C API to Java. In: MobiCASE, Mobile Networks and Applications, Seattle. Springer (2012)
Puder, A., Lee, J.: Towards an XML-based Byte Code Level Transformation Framework. In: 4th International Workshop on Bytecode Semantics, Verification, Analysis and Transformation. Elsevier, York (2009)
W3C. WebIntents (2012), http://www.w3.org/wiki/WebIntents
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 ICST Institute for Computer Science, Social Informatics and Telecommunications Engineering
About this paper
Cite this paper
Puder, A. (2013). A Common Platform API for Android. In: Borcea, C., Bellavista, P., Giannelli, C., Magedanz, T., Schreiner, F. (eds) Mobile Wireless Middleware, Operating Systems, and Applications. MOBILWARE 2012. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 65. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-36660-4_12
Download citation
DOI: https://doi.org/10.1007/978-3-642-36660-4_12
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-36659-8
Online ISBN: 978-3-642-36660-4
eBook Packages: Computer ScienceComputer Science (R0)