CAreDroid: Adaptation Framework for Android Context-Aware Applications [Conference Paper]

NESL Technical Report #: 2015-9-1

Authors:

Abstract: Context-awareness is the ability of software systems to sense and adapt to their physical environment. Many contemporary mobile applications adapt to changing locations, connectivity states, available computational and energy resources, and proximity to other users and devices. Nevertheless, there is little systematic support for context-awareness in contemporary mobile operating systems. Because of this, application developers must build their own context-awareness adaptation engines, dealing directly with sensors and polluting application code with complex adaptation decisions. In this paper, we introduce CAreDroid, which is a framework that is designed to decouple the application logic from the complex adaptation decisions in Android context-aware applications. In this framework, developers are required--only--to focus on the application logic by providing a list of methods that are sensitive to certain contexts along with the permissible operating ranges under those contexts. At run time, CAreDroid monitors the context of the physical environment and intercepts calls to sensitive methods, activating only the blocks of code that best fit the current physical context. CAreDroid is implemented as part of the Android runtime system. By pushing context monitoring and adaptation into the runtime system, CAreDroid eases the development of context-aware applications and increases their efficiency. In particular, case study applications implemented using CAreDroid are shown to have: (1) at least half lines of code fewer and (2) at least 10× more efficient in execution time compared to equivalent context-aware applications that use only standard Android APIs.

External paper URL

Publication Forum: Proceedings of the 21st Annual International Conference on Mobile Computing and Networking (MobiCom'15)

Page (Start): 386

Page (End): 399

Date: 2015-09-01

Publisher: ACM

Public Document?: Yes

NESL Document?: Yes

Document category: Conference Paper

Primary Research Area: #<ResearchArea:0x007f58cf185450>

Back