Académique Documents
Professionnel Documents
Culture Documents
https://rebase.google.com/docs/database/android/start/
1/4
8/20/2016
You can save a range of data types to the database this way, including Java objects. When you save an object the responses
from any getters will be saved as children of this location.
https://rebase.google.com/docs/database/android/start/
2/4
8/20/2016
@Override
public void onCancelled(DatabaseError error) {
// Failed to read value
Log.w(TAG, "Failed to read value.", error.toException());
}
3/4
8/20/2016
Before launching your app, we recommend walking through our launch checklist
(https:// rebase.google.com/support/guides/launch-checklist) to make sure your app is ready to go!
Next Steps
See your new database in the Firebase console (://firebase.google.com/console/).
Learn more about how to structure data and navigate the JSON tree in our documentation
(https:// rebase.google.com/docs/database/android/structure-data).
If you are upgrading from a 2.X version of the Firebase SDK, please read our upgrade guide for Android
(https:// rebase.google.com/support/guides/ rebase-android).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License
(http://creativecommons.org/licenses/by/3.0/), and code samples are licensed under the Apache 2.0 License(http://www.apache.org/licenses/LICENSE-2.0).
For details, see our Site Policies(https:// rebase.google.com/site-policies). Java is a registered trademark of Oracle and/or its af liates.
Last updated August 15, 2016.
https://rebase.google.com/docs/database/android/start/
4/4