You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The game is opened first time and Two Player ▶️ Two Devices is chosen.
By this a new activity opens, Button text is "OFF".
It is pressed so the bluetooth turns ON and Button text changes to "ON".
Back button is pressed immediately and then again this activity is visited.
Now bluetooth is ON yet the button text is again "OFF".
Seems like you set the text as "OFF" in onCreate of activity.
Either add a check by examining bluetooth's status and setting button text accordingly, or inside onFinish, turn off the bluetooth if it is ON and display a Toast or Snack Bar that "Bluetooth has been turned off"..
Think about some work around...
The text was updated successfully, but these errors were encountered:
Think about some work around...
The text was updated successfully, but these errors were encountered: