Skip to main content

Towards Platform Independence of Mobile Applications

Metamorphosing Android Applications for the Web

  • Conference paper
Computer Aided Systems Theory - EUROCAST 2013 (EUROCAST 2013)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8112))

Included in the following conference series:

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Android, http://www.android.com

  2. Burnette, E.: Google Web Toolkit - Taking the pain out of Ajax. The Pragmatic Bookshelf, Dallas (2007)

    Google Scholar 

  3. Chaganti, P.: Google Web Toolkit. Packt, Birmingham (2007)

    Google Scholar 

  4. Corona, http://www.coronalabs.com

  5. Dewsbury, R.: Google Web Toolkit Applications. Prentice Hall, Upper Saddle River (2007)

    Google Scholar 

  6. Dietrich P.: Cross-Application-Development (HTML5). Master thesis (2011)

    Google Scholar 

  7. Dwyer, J.: Pro Web 2.0 Application Development with GWT. Apress, New York (2008)

    Google Scholar 

  8. Emscripten, http://www.emscripten.org

  9. Eranea, http://www.eranea.com

  10. Geary, D., Gordon, R.: Google Web Toolkit Solutions - More Cool & Useful Stuff. Prentice Hall, Upper Saddle River (2007)

    Google Scholar 

  11. Gupta, V.: Accelerated GWT. Apress, New York (2008)

    Google Scholar 

  12. GWT, developers.google.com/web-toolkit

  13. HTML5: Reference & Specification, http://www.html5rocks.com

  14. IDC: Press Release (February 2013), www.idc.com

  15. Java Development Tools: Reference & Specification, www.eclipse.org/jdt

  16. Java2Script, j2s.sourceforge.net

  17. JDT, www.eclipse.org/jdt/

  18. J2ObjC, code.google.com/p/j2objc

  19. Laemmel, R., Pek, E., Starek, J.: Large-scale, AST-based API-usage analysis of open-source Java projects. SAC (2011)

    Google Scholar 

  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. Li, X., Zhong, X.: The Source Code Plagiarism Detection using AST. In: IPTC (2010)

    Google Scholar 

  22. MoSync, http://www.mosync.com

  23. Ohrt, J., Turau, V.: Cross-Platform Development Tools for Smartphone Applications. Computer (2012)

    Google Scholar 

  24. Pham, T., Truong, N., Nguyen, V.: Analyzing RBAC Security Policy of Implementation Using AST. In: KSE (2009)

    Google Scholar 

  25. PhoneGap, http://www.phonegap.com

  26. Puder, A.: Extending desktop applications to the web. In: ISICT (2004)

    Google Scholar 

  27. RhoMobile, docs.rhomobile.com

  28. Schneider, S.: Web-Apps als Zukunft der mobilen Anwendungsentwicklung. In: IFF (2011)

    Google Scholar 

  29. Sencha, http://www.sencha.com

  30. Smutny, P.: Mobile development tools and cross-platform solutions. In: ICCC (2012)

    Google Scholar 

  31. Titanium, http://www.appcelerator.com/platform/titanium-sdk

  32. Wang, X., Yuan, X.: Towards an AST-based Approach to Reverse Engineering. In: CCECE (2006)

    Google Scholar 

  33. Wimberger, C.: Source to Source Translator from C to Java and ActionScript. Master thesis (2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Klima, P., Selinger, S. (2013). Towards Platform Independence of Mobile Applications. In: Moreno-Díaz, R., Pichler, F., Quesada-Arencibia, A. (eds) Computer Aided Systems Theory - EUROCAST 2013. EUROCAST 2013. Lecture Notes in Computer Science, vol 8112. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-53862-9_56

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-53862-9_56

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-53861-2

  • Online ISBN: 978-3-642-53862-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics