This Pull Request adds to the repository a full refractoring of the Bluetooth related classes.
The EventBus is used extensively to communicate
A background service is introduced
A global Application class is introduced to keep track of the background service
Every data type can now be sent over Bluetooth (so not just contacts)
The large Bluetooth classes is split in 5 new classes (and also for a part in APairingHandler)
Why
This Pull Request is needed because the old Bluetooth class was difficult to understand, the Bluetooth screen had to be opened to receive contacts and only contacts could be sent and PMD didn't like the coupling / class size
How
This feature can be viewed/tested within the project by sharing contacts over Bluetooth
Alternative implementation
Other implementations that I've have considered are -
Notes
The very first meeting I'll give you a walkthrough through this new code ;-)
Relevant Issues: -
Related Pull Requests: #105
What
This Pull Request adds to the repository a full refractoring of the Bluetooth related classes.
Why
This Pull Request is needed because the old Bluetooth class was difficult to understand, the Bluetooth screen had to be opened to receive contacts and only contacts could be sent and PMD didn't like the coupling / class size
How
This feature can be viewed/tested within the project by sharing contacts over Bluetooth
Alternative implementation
Other implementations that I've have considered are -
Notes
The very first meeting I'll give you a walkthrough through this new code ;-)