GetEmotion is an Android mobile application used as a Haptic Touch Data Collector tool as part of the methodologies of the thesis, Integrating Haptic Touch on Android Devices for Emotion Recognition in an Emotionally Stimulated Environment. It is mainly built following the experiment procedure of collecting haptic data from participants who were emotionally stimulated using the LIRIS-ACCEDE dataset.
GetEmotion is developed using the Kotlin programming language in Android Studio, with the integration of Firebase Firestore and Authentication.
The next section details how to run GetEmotion on an Android smartphone. It is recommended that the open-source project is run only through Android Studio, and that an external smartphone device is ready for usage.
The guide explains the compatibility, installations, and step-by-step process in order to run GetEmotion application in an Android Smartphone. Please check each of the subsections below:
- Smartphone Compatibility
- Android Studio Processes
- Firebase Processes
- Running the Application
By default, GetEmotion application will only work on at least SDK 30/Android Platform Version 11 due to its capability for wireless debugging, which is used to run the app on a smartphone without needing a connecting wire.
Please ensure that the Android version of your device uses at least Android 11.
Download the latest version of Android Studio. By the initial version of this application, GetEmotion is runnable on Android Studio Koala 2024.1.1. It also runs on Gradle 8.5 as per project publishing.
GetEmotion highly depends on using Firebase Firestore and Authentication for its data management and storage. Please follow the instructions below to ensure that the application is runnable without errors:
Go to Firebase Console and create an account.
- Click create a project.
- Set project name to GetEmotion.
- Proceed to next until you confirm your creation.
Connect GetEmotion application to Firebase through a series of instructions in the screenshots below:
- Click the Android icon as shown.
- On the Android package name field, type com.opensource.getemotion.
- Download the google-services.json file.
- In the next steps, click next until the setup is finished.
- Find the Firestore Database.
- (Optional) You can set a location based on your preference.
- Choose Start in Test Mode. Please don't use production mode.
- Click the Rules tab.
- Set the timestamp.date() to a date of your preference, and click publish.
- It is crucial to add two collections in order for GetEmotion to work: Users and Interactions. Click Start collection.
- Firstly, enter Users for the collection ID.
- Then, you can indicate the document ID as Test for a test document. Click save.
- Repeat Steps 6 to 8 for the Interactions collection.
- Find the Authentication.
- Under Native Providers, choose Email/Password.
- Only enable Email/Password. Then, click save.
- Make sure that you are under Project view.
- Move the google-services.json under the app folder.
- Find the Device Manager button at the top of the Android Studio IDE. It can also be found on the right side of Android Studio.
- Click Pair Devices Using WiFi to pair your device wireless.
- On your device, enable Developer Options. Then, go to Wireless Debugging.
- You can pair using a QR code or a pairing code.
Note: You can also connect your device using a connector wire by enabling USB Debugging under the Developer Options.
To run the GetEmotion application, click the Run button at the top of the Android Studio IDE or go to the Run tab.

























