skip to main content
10.1145/2095050.2095093acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
research-article

Reverse-engineering user interfaces to facilitateporting to and across mobile devices and platforms

Published:23 October 2011Publication History

ABSTRACT

As mobile devices are rapidly replacing desktop computers for a growing number of users, existing user interfaces often need to be ported from the desktop to a mobile device. In addition, successful user interfaces written for one mobile platform are commonly ported to other mobile platforms. Traditionally, porting user interfaces requires that their source code be reverse-engineered and translated, which is difficult and error-prone. In this paper, we present an approach that reverse-engineers user interfaces without having to analyze their source code. Specifically, our approach examines an interface's runtime representation by means of aspect-oriented programming (AOP). An aspect intercepts the program's control flow at the point when all the components of an interface are laid out on the screen, but before the interface is displayed. The aspect analyzes the interface's in-memory representation and extracts a platform-independent model that can then be used to generate equivalent interfaces for other devices and platforms. Our initial proof of concept ports Java Swing interfaces to Android. In this paper, we describe our approach, discuss its main technical challenges, and outline future research directions.

References

  1. M. Abrams, C. Phanouriou, A. L. Batongbacal, S. M. Williams, and J. E. Shuster. UIML: an appliance-independent XML user interface language. Computer Networks, 31(11-16):1695--1708, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. M. F. Ali and M. Abrams. Simplifying construction of multi-platform user interfaces using UIML. In UIML Europe 2001 Conference, 2001.Google ScholarGoogle Scholar
  3. T. Bartolomei, K. Czarnecki, and R. Lammel. Swing to SWT and back: Patterns for API migration by wrapping. In Software Maintenance (ICSM), 2010 IEEE International Conference on, pages 1--10. IEEE. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Gartner Inc. Gartner highlights key predictions for IT organizations and users in 2010 and beyond. http://gartner.com/it/page.jsp?id=1278413, 2010.Google ScholarGoogle Scholar
  5. K. Luyten, B. Creemers, and K. Coninx. Multi-device layout management for mobile computing devices. Technical report, Limburgs Universitair Centrum, 2003.Google ScholarGoogle Scholar
  6. H. Samir, E. Stroulia, and A. Kamel. Swing2Script: Migration of Java-Swing applications to AJAX Web applications. Reverse Engineering, Working Conference on, pages 179--188, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. J. Vanderdonckt. A MDA-compliant environment for developing user interfaces of information systems. In Advanced Information Systems Engineering, pages 16--31. Springer, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Reverse-engineering user interfaces to facilitateporting to and across mobile devices and platforms

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Conferences
            SPLASH '11 Workshops: Proceedings of the compilation of the co-located workshops on DSM'11, TMC'11, AGERE! 2011, AOOPES'11, NEAT'11, & VMIL'11
            October 2011
            358 pages
            ISBN:9781450311830
            DOI:10.1145/2095050

            Copyright © 2011 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 23 October 2011

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article

            Upcoming Conference

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader