Poubelldroid
๐ Description
Poubelldroid is a school project for the course IHM at Polytech Nice Sophia. an application that aims to facilitate the search and cleanup of abandoned waste.
๐ฅ Demo (censured my home for privacy concerns)
Demo is not the latest version which includes better aestetic, visuals, settings and much more! (see below)

๐ก How to use
Prerequisites
- Java JDK 8+ (tested on 8, 11, and 17)
- Android SDK (API 29+) linked to an
ANDROID_HOMEenvironement variable (when opened with Android Studio, the Android SDK is automatically set for you thanks to thelocal.propertiesauto-generated file)
Get a copy of the Project. Assuming you have git installed, open your Terminal and enter:
Setting up your own backend
2.1 Create a
.envfile at the root directory based on the.env.templatefile2.2 Firebase setup
Get your own
google-service.json, set up your own Firebase instance, enable Firestore, Storage, Functions and Cloud MessagingFill the dedicated part in the
.envfileAdd the functions from the
firebase-functionsdirectory usingfirebase initandfirebase deploy(install usingnpm install -g firebase-tools)
2.3 Get a Google Maps API Key and fill the
.envfile2.4 Get a Twitter API Key (the Bearer Token) and fill the
.envfileGo into the project's root directory and run:
Note: On Linux, you'll need to use
chmod +x gradlewand./gradlew build
Running
If you want to run it in Android Studio:
- Open the folder with Android Studio (choose API 29 if prompted to choose one)
- Create a new virtual device (take whatever model you want, but we went for the Pixel 2)
- Use API 29 (Android Q == Android 10)
- Build and run!
If you want to run it on your phone:
- Connect your device via debugging mode
- Paire device with Android Studio using either Wi-Fi debugging or USB Debugging
OR
- Build > Generate Signed APK and generate the APK with a certificate
- Get the APK on your phone by using
adbor by file transfer - Install and run!
๐ License
Distributed under the GNU General Public License v3.0 - see the LICENSE file for details