Skip to main content

A model-based framework for mobile apps customization through context-dependent rules


The advent of the Internet of Things and mobile applications has made the possible contexts of use more and more varied, and creates new challenges for user interface developers. Although model-based approaches aim to support the generation of applications for different implementation technologies, limited attention has been paid to how to exploit them for novel context-dependent applications. We present a model-based framework that allows developers to flexibly customize their mobile apps to react to events not foreseen in the initial versions. It is composed of an authoring environment supporting the definition of model-based descriptions and generating mobile apps from them. The authoring environment allows developers to enrich the dynamic behaviour of the generated applications through trigger-action rules. The resulting versions of the apps can provide customized behaviour according to the actual contexts of use. The authoring environment supports efficient development of such customizations. We show its potential by describing an example application, and report on a first test with developers.

This is a preview of subscription content, access via your institution.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10


  1. 1. Accessed Jun 2018

  2. 2.

    Kurtev, I., Bézivin, J., Jouault, F., Valduriez, P.: Model-based DSL frameworks. In: OOPSLA '06 Companion to the 21st ACM SIGPLAN symposium on Object-oriented programming systems, languages, and applications, Portland, Oregan, 22–26 October 2006, pp. 602–616. ACM, New York. (ISBN:1-59593-491-X)

  3. 3.

    Le Goaer, O., Waltham, S.: Yet another DSL for cross-platforms mobile development. In: Proceedings of the First Workshop on the Globalization of Domain Specific Languages (GlobalDSL ‘13), 28–33. ACM, New York. (2013).

  4. 4.

    Majchrzak, T.A., Schulte, M.: Context-dependent testing of applications for mobile devices. Open J. Web. Technol. (OJWT) 2(1), 3–14 (2015) (RonPub)

    Google Scholar 

  5. 5.

    Rieger, C., Majchrzak, T.A.: Weighted evaluation framework for cross-platform app development approaches. In: Wrycza, S. (ed.) Proceedings of the 9th SIGSAND/PLAIS EuroSymposium on Systems Analysis and Design Information Systems, Lecture Notes in Business Information Processing (LNBIP), pp. 18–39. Springer, Berlin (2016)

    Google Scholar 

  6. 6.

    Rieger, C., Majchrzak, T.A.: Conquering the mobile device jungle: towards a taxonomy for app-enabled devices. In: Proceedings of 13th international conference on web information systems and technologies, vol 1: (WEBIST), pp. 332–339. SciTePress (2017). (ISBN 978-989-758-246-2)

  7. 7.

    Jia, X., Jones, C.A.: AXIOM: a model-driven approach to cross-platform application development. In: ICSOFT 2012—Proceedings of the 7th international conference on software paradigm trends, vol 1: ICSOFT, 24–33, 2012. SciTePress, Rome, Italy (2012). (ISBN: 978-989-8565-19-8)

  8. 8.

    Heitkötter, H., Majchrzak, T.A., Kuchen, H.: Cross-platform model-driven development of mobile applications with md2. In: SAC '13 proceedings of the 28th annual ACM symposium on applied computing, Coimbra, Portugal, 18–22 March, 2013, pp. 526–533. ACM, New York. (ISBN: 978-1-4503-1656-9)

  9. 9.

    Majchrzak, T.A., Ernsting, J.: Achieving business practicability of model-driven cross-platform apps. Open. J. Inf. Syst. (OJIS) 2(2), 3–14 (2015) (RonPub)

    Google Scholar 

  10. 10.

    Ernsting, J., Rieger, C., Wrede, F., Majchrzak, T.A.: Refining a reference architecture for model-driven business apps. In: Proceedings of the 12th international conference on web information systems and technologies (WEBIST 2016), 307–316. SciTePress, Rome, Italy (2016). (ISBN:978-989-758-186-1)

  11. 11.

    Heitkötter, H., Kuchen, H., Majchrzak, T.A.: Extending a model-driven cross-platform development approach for business apps. Sci. Comput. Program 97(1), 31–36 (2015)

    Article  Google Scholar 

  12. 12.

    Dickson, P.E.: Cabana: a cross-platform mobile development system. In: SIGCSE '12 Proceedings of the 43rd ACM technical symposium on computer science education. February 29–March 03, 2012, pp. 529–534. ACM, New York, USA. (ISBN: 978-1-4503-1098-7)

  13. 13.

    Nebeling, M., Dey, A.K.: XDBrowser: user-defined cross-device web page designs. In: CHI '16 Proceedings of the 2016 CHI conference on human factors in computing systems, San Jose, California, USA, May 07–12, 2016, pp. 5494–5505. ACM, New York. (ISBN: 978-1-4503-3362-7)

  14. 14.

    Van de Camp, F., Stiefelhagen, R.: GlueTK: a framework for multi-modal, multi-display human–machine-interaction. In: IUI '13 Proceedings of the 2013 international conference on Intelligent user interfaces, California, USA, March 19–22, 2013, pp. 329–338. ACM, New York, NY. (ISBN: 978-1-4503-1965-2)

  15. 15.

    Ur, B., McManus, E., Ho, M.P.Y., Littman, M.L.: Practical trigger-action programming in the smart home. In: CHI '14 Proceedings of the SIGCHI conference on human factors in computing systems, Toronto, Ontario, Canada, April 26–May 01, 2014, pp. 803–812. ACM, New York. (ISBN: 978-1-4503-2473-1)

  16. 16.

    Coutaz, J., Crowley, J.L.: A first person experience with end-user development for smart home. IEEE Pervasive Comput. 15(2), 26–39 (2016)

    Article  Google Scholar 

  17. 17.

    Ghiani, G., Manca, M., Paternò, F., Santoro, C.: Personalization of context-dependent applications through trigger-action rules. In: ACM transactions on computer-human interaction (TOCHI)—special issue EUD for IoT TOCHI, vol 24. ACM, New York (2017).

    Article  Google Scholar 

  18. 18.

    Dey, A., Sohn, T., Streng, S., Kodama, J.: iCAP: Interactive prototyping of context-aware applications. In: PERVASIVE'06 Proceedings of the 4th international conference on pervasive computing, Dublin, Ireland, May 07–10, 2006, pp. 254–271. Springer, Heidelberg. (ISBN:3-540-33894-2 978-3-540-33894-)

    Google Scholar 

  19. 19.

    Ghiani, G., Manca, M., Paternò, F.: Authoring context-dependent cross-device user interfaces based on trigger/action rules. In: The 14th international conference on mobile and ubiquitous multimedia (MUM2015), Linz, Austria, November 30–December 2, 2015, pp. 313–322. ACM Press, New York. (ISBN: 978-1-4503-3605-5)

  20. 20.

    Gajos, K., Weld, D.S.: SUPPLE: automatically generating user interfaces. In: IUI '04 Proceedings of the 9th international conference on Intelligent user interfaces, Funchal, Madeira, Portugal, January 13–16, 2004, pp. 93–100. ACM Press, New York. (ISBN:1-58113-815-6)

  21. 21.

    Eisenstein, J., Vanderdonckt, J., Puerta, A.: Applying model-based techniques to the development of UIs for mobile computers. In: IUI '01 Proceedings of the 6th international conference on intelligent user interfaces, Santa Fe, New Mexico, USA, January 14–17, 2001, pp. 69–76. ACM, New York. (ISBN:1-58113-325-1)

  22. 22.

    Mayer, S., Tschofen, A., Dey, A.K., Mattern, F.: User interfaces for smart things-A generative approach with semantic interaction descriptions. ACM Trans. Comput. Hum. Interact. (TOCHI) 21(2), 12 (2014)

    Article  Google Scholar 

  23. 23.

    Usman, M., Iqbal, M.Z., Khan, M.U.: A product-line model-driven engineering approach for generating feature-based mobile applications. J. Syst. Softw. 123, 1–32. (2017). 0164–1212)

  24. 24.

    Halbrügge, M., Quade, M., Engelbrecht, K., Möller, S., Albayrak, S.: Predicting user error for ambient systems by integrating model-based UI development and cognitive modelling. In: UbiComp '16 Proceedings of the 2016 ACM international joint conference on pervasive and ubiquitous computing, Heidelberg, Germany, September 12–16, 2016, pp. 1028–1039. ACM Press, New York. (ISBN: 978-1-4503-4461-6)

  25. 25.

    Nguyen, T., Vanderdonckt, J., Seffah, A.: Generative patterns for designing multiple user interfaces. In: Proceedings of the International conference on mobile software engineering and systems (MOBILESoft ‘16), Austin, TX, USA, 16–17 May 2016, pp. 151–159. ACM, New York. (ISBN: 978-1-4503-4178-3)

  26. 26.

    Karuzaki, E., Savidis, A.: Yeti: yet another automatic interface composer. In: Proceedings of the 7th ACM SIGCHI symposium on engineering interactive computing systems (EICS ‘15), pp. 12–21. ACM, New York. (2015).

  27. 27.

    Yigitbas, E., Stahl, H., Sauer, S., Engels, G.: Self-adaptive UIs: integrated model-driven development of UIs and their adaptations. In: ECMFA 2017: modelling foundations and applications. Lecture notes in computer science, pp. 126–141. Springer, Cham (2017). (ISBN 978-3-319-61482-3)

    Chapter  Google Scholar 

  28. 28.

    Paternò, F., Santoro, C., Spano, L.D.: MARIA: a universal, declarative, multiple abstraction-level language for service-oriented applications in ubiquitous environments. ACM Trans. Comput. Hum. Interact. 16(4), 19:1–19:30 (2009)

    Article  Google Scholar 

  29. 29.

    Paternò, F., Santoro, S., Spano, L.D.: Engineering the authoring of usable service front ends. J. Syst. Softw. 84(10), 1806–1822 (2011)

    Article  Google Scholar 

  30. 30. Accessed Jun 2018

Download references


We thank Luca Pardini for his help in the implementation of the android generator for MARIA specifications.

Author information



Corresponding author

Correspondence to Fabio Paternò.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Manca, M., Paternò, F. & Santoro, C. A model-based framework for mobile apps customization through context-dependent rules. Univ Access Inf Soc 18, 909–925 (2019).

Download citation


  • Authoring context-dependent applications
  • Model-based mobile app generation
  • Event–condition–action rules