Sistemas Distribuidos y Empotrados final project. A smart mailbox to receive packages when you aren't at home. Android app.
This project implements the Android application for connecting with Smart Mailbox.
- Download this repository
- Open the project in Android Studio
- Change SERVER_URI, USERNAME and PASSWORD in the MqttHelper.java
- Build and run in Android phone
- MQTT android library: https://github.com/eclipse/paho.mqtt.android
- Save notifications in SQlite
- BLE notifications
- BLE auto-connection with ESP32
- Making Android BLE work: https://medium.com/@martijn.van.welie/making-android-ble-work-part-1-a736dcd53b02
- MQTT Android Cliente Tutorial: https://wildanmsyah.wordpress.com/2017/05/11/mqtt-android-client-tutorial/
- Android Oficial Documentation: https://developer.android.com/guide/topics/connectivity/bluetooth-le?hl=es-419