I am using the new Google Play Game services to create a real-time multiple player game on Android devices. I have the communication between the games going, and basic mechanics. However, I have now realized that any time the game's activity is left, the room is disconnected. This concerns me for a couple of reasons:
- The game is likely to be played on a phone. An incoming call would definitely cause the phone activity to come up, disconnecting the room and hence the game
- The display could suspend, also disconnecting
- I had planned on having an ad displayed on the game screen. Clicking the ad would disconnect from the room/game
Is there a way to maintain a connection to the room, or possible reconnect to the room (the documentation definitely seems to preclude reconnecting) in order to allow interruptions such as those above while still allowing the player to continue with the game seamlessly?
Thanks, Rob