/Android-Firebase-Hackathon-Starter

A base app for doing android dev in hackathons with Firebase realtime database

Primary LanguageJavaMIT LicenseMIT

Unofficial Android Firebase Starter App

This is an app I built as a starting point for my own hacky projects.

It supports Android API level 19 and higher.

Features

MapsActivity

Preview of maps, displaying a few markers

  • Tap a map to set a marker, and send to Firebase.
  • Tap a marker to clear it, and remove from Firebase.
  • Markers added / moved / removed from Firebase on other clients appear in real time.

ChatActivity

Preview of chat, displaying a few chat messages

  • Type something and post to a chat room.
  • Chat messages are posted to Firebase.
  • Chat messages created on other clients are synchronized in real time.

Using the project

Do this stuff to use this project.

  1. Create a Firebase app
  2. Copy your google-services.json into /app/
  3. Get an API key for the Google Maps API for Android
  4. Paste your API key into app/src/debug/res/values/google_maps_api.xml

License and stuff

MIT