Skip to main navigation Skip to search Skip to main content

Code Implementation Recommendation for Android GUI Components

  • Yanjie Zhao
  • , Li Li*
  • , Xiaoyu Sun
  • , Pei Liu
  • , John Grundy
  • *Corresponding author for this work
  • Monash University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We present a prototype tool Icon2Code, targeted to helping app de-velopers more quickly implement the callback functions of complex Android GUI components by recommending code implementations learnt from similar GUI components from other apps. Given an icon or UI widget provided by designers, Icon2Code first queries a large pre-established database to locate similar icons that other apps have utilized. It then leverages a collaborative filtering model to suggest the most relevant APIs and their usage examples associated with the intended behaviours of these icons. Experimental results on 5,000 randomly selected real-world apps show that Icon2Code is useful and effective in recommending code examples for imple-menting the behaviours of complex GUI components. It has over 50% of success rate when only one recommended API is taken into account, and over 94% of success rate if 20 APIs are considered. The video demo can be found at https://youtu.be/pM3ZBGrQTdQ.

Original languageEnglish
Title of host publicationProceedings - 2022 ACM/IEEE 44th International Conference on Software Engineering
Subtitle of host publicationCompanion Proceedings, ICSE-Companion 2022
PublisherIEEE Computer Society
Pages31-35
Number of pages5
ISBN (Electronic)9781665495981
DOIs
StatePublished - 19 Oct 2022
Externally publishedYes
Event44th ACM/IEEE International Conference on Software Engineering: Companion proceedings, ICSE-Companion 2022 - Hybrid, Pittsburgh, United States
Duration: 22 May 202227 May 2022

Publication series

NameProceedings - International Conference on Software Engineering
ISSN (Print)0270-5257

Conference

Conference44th ACM/IEEE International Conference on Software Engineering: Companion proceedings, ICSE-Companion 2022
Country/TerritoryUnited States
CityHybrid, Pittsburgh
Period22/05/2227/05/22

Keywords

  • API Recommendation
  • Android
  • App Development
  • Collaborative Filtering
  • Icon Imple-mentation

Fingerprint

Dive into the research topics of 'Code Implementation Recommendation for Android GUI Components'. Together they form a unique fingerprint.

Cite this