Static analysis of android apps for lifecycle conformance

Samer Zein, Norsaremah Salleh, John Grundy

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearch

7 Citations (Scopus)


Building robust and reliable mobile applications requires the developer to be fully aware of the lifecycle models for mobile applications. During different states of the mobile application lifecycle, such as start-up, running, background etc., various system resources need to be acquired for use and released so that other applications can use them. However, novice and amateur developers, who are a growing fraction in the mobile development community, often find such a task to be non-trivial and complex and limited in support for by existing tools. This paper presents an automated approach based on static code analysis to aid novice developers in managing system resources during different stages of a mobile application's lifecycle. In order to achieve this, we present a software model to encapsulate lifecycle rules for system resources and then create a repository for these resources. In addition, a novel code analysis algorithm is presented to show how Android application source code can be analyzed in order to verify that system resources have been correctly initiated and released. A proof-of-concept software tool known as ALCI has been developed to evaluate our approach. We used ALCI to analyze 10 Android applications and our initial results show that ALCI is effective and successful.

Original languageEnglish
Title of host publicationThe 8th International Conference on Information Technology, Conference Proceedings
EditorsAyman Abdalla, Azman Samsudin
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Number of pages8
ISBN (Electronic)9781509063321
ISBN (Print)9781509063338
Publication statusPublished - 2017
Externally publishedYes
EventInternational Conference on Information Technology 2017 - Amman, Jordan
Duration: 17 May 201718 May 2017
Conference number: 8th


ConferenceInternational Conference on Information Technology 2017
Abbreviated titleICIT 2017
Internet address


  • automation
  • lifecycle conformance
  • static code analysis

Cite this