TY - GEN
T1 - Towards Platform Independence of Mobile Applications
T2 - 14th International Conference on Computer Aided Systems Theory, Eurocast 2013
AU - Klima, Peter
AU - Selinger, Stephan
N1 - Copyright:
Copyright 2021 Elsevier B.V., All rights reserved.
PY - 2013
Y1 - 2013
N2 - In the last years the number of platforms has increased dramatically - especially in the mobile sector. Developing a native mobile application for each platform is costly. There are common approaches to develop within one code base for many platforms. So-called cross-platform-tools can help developers to decrease the effort of making platform specific versions. However, most of these tools are dealing with JavaScript and therefore an existing native application, which is written in Java, C# or Objective-C can hardly be reused. This paper shows an automated conversion of platform specific Android applications to platform independent Web applications by using the Google Web Toolkit (GWT). This converter provides code reusability of existing Android applications and platform independence. The converter uses the Eclipse Java Development Tools (JDT) for processing the source code. On the one hand, Android wrapper classes provide the API calls, which access internally GWT code or directly HTML5 features. On the other hand, source code, which does not fulfill the GWT's requirements, is converted. A case study confirms that this converter can be easily applied to a range of Android applications for converting them to platform independent Web applications.
AB - In the last years the number of platforms has increased dramatically - especially in the mobile sector. Developing a native mobile application for each platform is costly. There are common approaches to develop within one code base for many platforms. So-called cross-platform-tools can help developers to decrease the effort of making platform specific versions. However, most of these tools are dealing with JavaScript and therefore an existing native application, which is written in Java, C# or Objective-C can hardly be reused. This paper shows an automated conversion of platform specific Android applications to platform independent Web applications by using the Google Web Toolkit (GWT). This converter provides code reusability of existing Android applications and platform independence. The converter uses the Eclipse Java Development Tools (JDT) for processing the source code. On the one hand, Android wrapper classes provide the API calls, which access internally GWT code or directly HTML5 features. On the other hand, source code, which does not fulfill the GWT's requirements, is converted. A case study confirms that this converter can be easily applied to a range of Android applications for converting them to platform independent Web applications.
KW - Abstract Syntax Tree
KW - Android
KW - Eclipse Java Development Tools
KW - Google Web Toolkit
KW - HTML5
KW - Platform independence
KW - code reusability
KW - conversion
KW - mobile Web applications
KW - source to source converter
UR - http://www.scopus.com/inward/record.url?scp=84892618025&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-53862-9-56
DO - 10.1007/978-3-642-53862-9-56
M3 - Conference contribution
SN - 9783642538612
VL - 8112
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 442
EP - 449
BT - Computer Aided Systems Theory, EUROCAST 2013 - 14th International Conference, Revised Selected Papers
PB - Springer
Y2 - 10 February 2013 through 15 February 2013
ER -