A Multi-dimensional Study on the State of the Practice of REST APIs Usage in Android Apps. Abdellatif, M., Tighilt, R., Belkhir, A., Moha, N., Gu�h�neuc, Y., & Beaudry, �. Automated Software Engineering (JASE), 27:pages187–228, Springer, August, 2020. 42 pages.
A Multi-dimensional Study on the State of the Practice of REST APIs Usage in Android Apps [pdf]Paper  abstract   bibtex   
REST APIs are gaining a tremendous attraction in industry and a growing usage in mobile platforms. They are well suited for providing content to apps running on small devices, like smartphones and tablets. Several research works studied REST APIs development practices for mobile apps. However, little is known about how Android apps use/consume these APIs in practice. Consequently, we propose a multidimensional study on the state of the practice of REST APIs usage in Android apps. We follow three directions: analysing of Android apps, mining Stack Overflow posts on REST APIs usage in Android apps, and surveying Android developers about their usage of REST APIs in their mobile apps. We (1) build a catalog of Android REST mobile clients practices, (2) propose an automatic approach to detect these practices, (3) analyze 1,595 Android apps downloaded from the Google Play store, (4) mine 12,478 Stack Overflow posts to study REST APIs usage in Android apps, and (5) conduct an online survey with 118 Android developers to understand their usage of these practices. We report that only two good practices are widely considered by Android developers when implementing their mobile apps. These practices are network connectivity awareness and JSON vs. XML response parsing. We also report Android developers' recommendations for the use of third-party HTTP libraries and their role in implementing the recommended practices.

Downloads: 0