Towards Platform Independence of Mobile Applications

Metamorphosing Android Applications for the Web
  • Peter Klima
  • Stephan Selinger
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8112)


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.


Platform independence code reusability Android Google Web Toolkit mobile Web applications conversion source to source converter Eclipse Java Development Tools Abstract Syntax Tree HTML5 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
  2. 2.
    Burnette, E.: Google Web Toolkit - Taking the pain out of Ajax. The Pragmatic Bookshelf, Dallas (2007)Google Scholar
  3. 3.
    Chaganti, P.: Google Web Toolkit. Packt, Birmingham (2007)Google Scholar
  4. 4.
  5. 5.
    Dewsbury, R.: Google Web Toolkit Applications. Prentice Hall, Upper Saddle River (2007)Google Scholar
  6. 6.
    Dietrich P.: Cross-Application-Development (HTML5). Master thesis (2011)Google Scholar
  7. 7.
    Dwyer, J.: Pro Web 2.0 Application Development with GWT. Apress, New York (2008)Google Scholar
  8. 8.
  9. 9.
  10. 10.
    Geary, D., Gordon, R.: Google Web Toolkit Solutions - More Cool & Useful Stuff. Prentice Hall, Upper Saddle River (2007)Google Scholar
  11. 11.
    Gupta, V.: Accelerated GWT. Apress, New York (2008)Google Scholar
  12. 12.
  13. 13.
    HTML5: Reference & Specification,
  14. 14.
    IDC: Press Release (February 2013),
  15. 15.
    Java Development Tools: Reference & Specification,
  16. 16.
  17. 17.
  18. 18.
  19. 19.
    Laemmel, R., Pek, E., Starek, J.: Large-scale, AST-based API-usage analysis of open-source Java projects. SAC (2011)Google Scholar
  20. 20.
    Lee R., Harikumar A., Chiang C., Yang H., Kim H., Kang B.: A framework for dynamically converting components to Web services. In: SERA (2005)Google Scholar
  21. 21.
    Li, X., Zhong, X.: The Source Code Plagiarism Detection using AST. In: IPTC (2010)Google Scholar
  22. 22.
  23. 23.
    Ohrt, J., Turau, V.: Cross-Platform Development Tools for Smartphone Applications. Computer (2012)Google Scholar
  24. 24.
    Pham, T., Truong, N., Nguyen, V.: Analyzing RBAC Security Policy of Implementation Using AST. In: KSE (2009)Google Scholar
  25. 25.
  26. 26.
    Puder, A.: Extending desktop applications to the web. In: ISICT (2004)Google Scholar
  27. 27.
  28. 28.
    Schneider, S.: Web-Apps als Zukunft der mobilen Anwendungsentwicklung. In: IFF (2011)Google Scholar
  29. 29.
  30. 30.
    Smutny, P.: Mobile development tools and cross-platform solutions. In: ICCC (2012)Google Scholar
  31. 31.
  32. 32.
    Wang, X., Yuan, X.: Towards an AST-based Approach to Reverse Engineering. In: CCECE (2006)Google Scholar
  33. 33.
    Wimberger, C.: Source to Source Translator from C to Java and ActionScript. Master thesis (2012)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Peter Klima
    • 1
  • Stephan Selinger
    • 1
  1. 1.University of Applied SciencesHagenbergAustria

Personalised recommendations