image description

Open Source Code

As part of our research, we are also building a collection of Android libraries to quickly build applications that collect sensor, mobile phone usage, and survey response data from participants of human interaction or social psychology experiments. These tools are fully configurable: social scientists can define what sensor data they would like to collect, a range of surveys with questions they would like to ask, and the conditions that should trigger each survey. Similarly, participants can set the application to meet their own personal preferences, by setting when they are available to answer surveys. The application is fully automated, and its configuration can be remotely updated, in order to adapt experiments as they are ongoing.

The following code is used by the Emotion Sense Android app:

GET IT ON Google Play

We are developing a variety of libraries that allow developers to quickly build applications that leverage smartphone sensor data, trigger context-based notifications, and collect survey responses.

We will add the libraries to this page as they are ready; please get in touch if you are interested in finding out more. The libraries are released under the ISC License.

Click here to join the developers Google group/mailing list, where you can post questions or comments about the libraries below.

If you do use these libraries, please let us know! You can find Neal's and Kiran's e-mail here.

  • ES Sensor Library

    An Android Library that offers an easy way to access one-off and publish/subscribe interface to all the smartphone sensors. For more details, check the documentation.

  • ES Data Manager Library

    An Android Library that allows you to store and bulk transfer sensor (or other application) data, based on the connectivity requirements of your application.

  • ES Trigger Manager Library

    An Android Library that to notify your application when particular events happen. These triggers can be based on time (e.g., on a particular interval or randomly over a given period) or on sensor events (e.g., a call was received or the phone is moving).

image description