Magni - A Framework for Developing Context-Aware Mobile Applications

Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 571)


The advent of Internet and ubiquitous technologies has been fostering the appearance of intelligent mobile applications aware of their environment and the objects nearby. Despite its popularity, mobile developers are often required to write large and disorganized amounts of code, mixing UI with business logic and interact, in a ad-hoc fashion, with sensor devices and services. These habits hinder the code maintenance, refactoring and testing, while negatively influencing the consistency and performance of mobile applications. In this paper we present Magni as an abstract framework for the design and implementation of personalized and context-aware mobile applications. The corner stone of the framework is its architectural pattern based on the Model–View–Presenter pattern in the UI layer relying in REST services the majority of the app features. This paradigm fosters the modular design, implementing the separation of concerns concept and allowing an easier implementation of unit tests. In order to validate the framework, we present a prototype for an healthcare automotive app. The main goal of the app is to facilitate the access to health related points of interest such as hospitals, clinics and pharmacies.


Web services Design patterns Mobile frameworks Geolocalization Interoperability Mobile healthcare Automotive apps 


  1. 1.
    Forman, G.H., Zahorjan, J.: The challenges of mobile computing. Computer 4, 38–47 (1994)CrossRefGoogle Scholar
  2. 2.
    de Oliveira, L., Loureiro, A.: CodeDroid: a framework to develop context-aware applications. In: MOBILITY - The First International Conference on Mobile Services, Resources, and Users (2011)Google Scholar
  3. 3.
    van Wissen, B., Palmer, N., Kemp, R., Kielmann, T., Bal, H.: ContextDroid: an expression-based context framework for Android. In: PhoneSense (2010)Google Scholar
  4. 4.
    Wang, A.I., Ahmad, Q.K.: IASTED - International Conference on Software Engineering and Applications (2010)Google Scholar
  5. 5.
    Tummala, H., Jones, J.: Developing spatially-aware content management systems for dynamic, location-specific information in mobile environments. In: 3rd ACM International Workshop on Wireless Mobile Applications and Services on WLAN Hotspots, Mobility Support and Location Awareness, pp. 14–22. ACM, Cologne, Germany (2005)Google Scholar
  6. 6.
    López-de-Ipiña, D., Vazquez, J.I., Abaitua, J.: A context-aware mobile mash-up platform for ubiquitous web. In: 3rd IET International Conference on Intelligent Environments, pp. 116–123. IEEE, Ulm, Germany (2007)Google Scholar
  7. 7.
    Challiol, C., Rossi, G., Gordillo, S., Cristófolo, V.: Designing and implementing physical hypermedia applications. In: Gavrilova, M.L., Gervasi, O., Kumar, V., Tan, C.J.K., Taniar, D., Laganá, A., Mun, Y., Choo, H. (eds.) ICCSA 2006. LNCS, vol. 3983, pp. 148–157. Springer, Heidelberg (2006). doi: 10.1007/11751632_16 CrossRefGoogle Scholar
  8. 8.
    Van Woensel, W., Casteleyn, S., De Troyer, O.: SCOUT: a framework for personalized contextaware mobile applications. In: ICWE 2009 Doctoral Consortium (2009)Google Scholar
  9. 9.
    Williams, E., Gray, J.: Contextion: a framework for developing context-aware mobile applications. In: Proceedings of the 2nd International Workshop on Mobile Development Lifecycle, pp. 27–31 (2014)Google Scholar
  10. 10.
    Martin, R.C.: Design principles and design patterns (2000)Google Scholar
  11. 11.
    Adibi, S. (ed.): Mobile Health: A Technology Road Map. Springer, New York (2015)Google Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  1. 1.ESMADPolytechnic of PortoPortoPortugal
  2. 2.Algoritmi Research CentreUniversity of MinhoBragaPortugal

Personalised recommendations