Development of Sensor Based Applications for the Android Platform: an Approach Based on Realistic Simulation
Smart phones are equipped with a wide range of sensors (such as GPS, light, accelerometer, gyroscope, etc.) and allow users to be connected everywhere. These characteristics offer a rich information source for creating context-aware applications. However, testing these applications in the lab, before their deployment, could become a hard task or impossible because of sensors correlation, too wide testing area or an excessive number of people involved. This work aims to solve these problems carrying out the testing in a simulator, simulating the world in which the application user is immersed into. Tester controls her avatar and the avatar has a simulated smart phone that is connected with the user’s smart phone. Applications under test are installed on the real smart phone and are compiled with a library that replaces standard services of the sensors by others that offer data sensor from the simulator (depending on the simulated smart phone context) instead of real world.
BADGETT, T., MYERS, G.J., SANDLER, C., and THOMAS, T.M. The art of Software Testing. Wiley, 2nd edition, 2004.
CAMPUZANO, F., GARCIA-VALVERDE, T., GARCIA-SOLA, A., and BOTIA, J. Flexible simulation of ubiquitous computing environments. In Ambient Intelligence – Software and Applications, volume 92 of Advantages in Intelligent and Soft Computing, Springer, 2011, Berlin / Heidelberg, pp. 189-196.
CHON, J., and CHA, H Lifemap: A smartphone-based context provider for location-based services. IEEE Pervasive Computing, volume 10, 2011, pp. 58-67.
Counter Strike website: http://www.counter-strike.net, last accessed March 1, 2013.
GARCIA-VALVERDE, T., SERRANO, E., BOTIA, J., GOMEZ-SKARMETA, A., CADENAS, J.M. Artificial societies immersed in an ambient intelligence environment, in: Workshop W31 Social Simulation of the 21st International Joint Conference on Artificial Intelligence, Pasadena, California, 2009.
GARTNER Corporation. Gartner says worldwide mobile phone sales grew 35 percent in third quarter 2010; smartphone sales increased 96 percent. http://www.gartner.com/it/page.jsp?id=1466313, Nov 2010.
I.O Electrical and E. E. IEEE 90: IEEE standard glossary of software engineering terminology, 1990, Artificial Intelligence and Application, J&J Editors, 2012. Spain
MAM website: http://www.murciaturistica.es/museos/museos.inicio?museo=museo-arqueol%F3gico-de-murcia-(mam)&id=1, last accessed March 1, 2013.
MASON website: http://cs.gmu.edu/~eclab/projects/mason/, last accessed March 1, 2013.
MEIER, R. Professional Android 2 Application Development. Wrox Press Ltd., Birmingham, UK, 1st edition, 2010.
OSHEROVE, R. The art of Unit Testing: With Examples in .Net. Manning Publications Co., Greenwich, CT, USA, 1st edition, 2009.
SAMSUNG Sensor Simulator website: http://developer.samsung.com/android/tools-sdks/Samsung-Sensor-Simulator, last accessed March 1, 2013.
SENSORSIMULATOR website: http://code.google.com/p/openintents/wiki/SensorSimulator, last accessed March 1, 2013.
UbikSim website: http://ubiksim.sourceforge.net, last accessed March 1, 2013.
This work is licensed under a Creative Commons Attribution 3.0 License.