The Community for Technology Leaders
2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) (2017)
Urbana, IL, USA
Oct. 30, 2017 to Nov. 3, 2017
ISBN: 978-1-5386-3976-4
pp: 286-296
Jianjun Huang , Department of Computer Science, Purdue University, USA
Yousra Aafer , Department of Computer Science, Purdue University, USA
David Perry , Department of Computer Science, Purdue University, USA
Xiangyu Zhang , Department of Computer Science, Purdue University, USA
Chen Tian , Huawei R&D, USA
ABSTRACT
While smartphone« and mobile apps have been an integral part of our life, modern mobile apps tend to contain a lot of rarely used functionalities. For example, applications contain advertisements and offer extra features such as recommended news stories in weather apps. While these functionalities are not essential to an app, they nonetheless consume power, CPU cycles and bandwidth. In this paper, we design a UI driven approach that allows customizing an Android app by removing its unwanted functionalities. In particular, our technique displays the UI and allows the user to select elements denoting functionalities that she wants to remove. Using this information, our technique automatically removes all the code elements related to the selected functionalities, including all the relevant background tasks. The underlying analysis is a type system, in which each code element is tagged with a type indicating if it should be removed. From the UI hints, our technique infers types for all other code elements and reduces the app accordingly. We implement a prototype and evaluate it on 10 real-world Android apps. The results show that our approach can accurately discover the removable code elements and lead to substantial resource savings in the reduced apps.
INDEX TERMS
Meteorology, Androids, Humanoid robots, Mobile communication, Real-time systems, Prototypes
CITATION

J. Huang, Y. Aafer, D. Perry, X. Zhang and C. Tian, "UI driven Android application reduction," 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE), Urbana, IL, USA, 2017, pp. 286-296.
doi:10.1109/ASE.2017.8115642
158 ms
(Ver 3.3 (11022016))