Questions tagged [android-snapshot]

Google Cloud Save is a service that enables per-user data storage and sync in your apps with no back-end programming required.

Google Cloud Save is a service that enables per-user data storage and sync in your apps with no back-end programming required.

The new Google Play Games Saved Games service introduced in July 2014 offers improved functionality for saving game state information and visually displaying player game progression. Game developers are highly encouraged to migrate from the Cloud Save (AppState) service to the new Saved Games (Snapshot) service as soon as possible.

5 questions
4
votes
1 answer

Android studio run emulator snapshot

I'm using the latest android studio (2.3.3), and apparently, Google removed the snapshot option when creating a new avd. I need to create an avd that supports snapshotting like in those threads: how do you save android emulator snapshot? How do I…
Matan Dobrushin
  • 107
  • 1
  • 10
1
vote
1 answer

Firestore: When should I detach the snapshot listener which updates a TextView in the navigation DrawerLayout?

In my navigation drawer layout, I show the user's login in a text view. The later can be changed if he clicks on a button titled "Edit profile" and then submits the corresponding form. That's why I use a snapshot listener, which updates the text…
JarsOfJam-Scheduler
  • 2,809
  • 3
  • 31
  • 70
1
vote
2 answers

Saved Games Snapshot initialization (null object reference)

I am trying to use the new Saved Games (Snapshot) API But I keep getting this error: java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.google.android.gms.games.snapshot.Snapshot.writeBytes(byte[])' on a null object…
0
votes
1 answer

Android Emulator snapshot flag not working

Android Emulator snapshot flag is not working as expected. I created a new avd with name Mydevice using tools/bin/avdmanager create avd --force --name Mydevice --abi google_apis/x86 --package 'system-images;android-29;google_apis;x86' --device…
0
votes
1 answer

Google Play Games Service API how to synchronize a player's game data across multiple devices?

The Google Play Saved Games Developer site mentions "The Saved Games service makes it possible to synchronize a player's game data across multiple devices." But does not give any examples, instruction or even an approach to accomplish this. I'm…
John
  • 2,551
  • 3
  • 17
  • 29