This Pull Request updates the MainAcitivity so the NFC and Bluetooth activities are started only once, instead of twice
Why
This Pull Request is needed because we don't want these activities to be started twice, especially since it makes the app confusing to use as pressing back once in either of these activities goes back to the same activity.
How
This feature can be viewed/tested within the project by opening the app, starting a connection either through NFC or Bluetooth and pressing back.
Relevant Issues: #277
Related Pull Requests: #249
What
This Pull Request updates the
MainAcitivity
so the NFC and Bluetooth activities are started only once, instead of twiceWhy
This Pull Request is needed because we don't want these activities to be started twice, especially since it makes the app confusing to use as pressing back once in either of these activities goes back to the same activity.
How
This feature can be viewed/tested within the project by opening the app, starting a connection either through NFC or Bluetooth and pressing back.
Alternative implementation
None
Notes
None