Giter Site home page Giter Site logo

androiddrawing's Introduction

This is a legacy Firebase example (for SDK 2.x.x). You probably want one of the up-to-date examples.


Firebase Drawing for Android

This Android application demonstrates the use of the Firebase SDK to create a shared drawing canvas. It also demonstrates the use of Firebase's offline and disk persistence capabilities. These ensure that the app will continue to work even when experiencing intermittent connectivity loss and when the app is restarted. Multiple users can run the app and draw on the same or different canvases. Line segments are synchronized as the user draws them.

Screenshot

Setup

Update DrawingActivity and replace https://android-drawing.firebaseio-demo.com with a reference to your Firebase.

What's here

The drawing and color-picking portions of this application are largely adapted from Google's ApiDemo application, which was shipped with a previous version of the Android SDK's sample code.

This example is intended to demonstrate how you can adapt single-user applications to be collaborative with the help of Firebase. Create your own Firebase app and incorporate these techniques into your own application!

When you keep a board in sync, its data will be kept up to date, even while you're looking at another board. For more information about how to use Firebase's offline capabilities in your app, see this section of our guide for Android developers.

More about Firebase on Android

You can do lots more with Firebase on Android. Check out our Android Quickstart guide to learn more.

androiddrawing's People

Contributors

abeisgoat avatar anantn avatar mimming avatar oalami avatar puf avatar robertdimarco avatar vinc3m1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.