Ajmal-hassan / android-google-maps-fusion-tables

Android example app to display point of interests saved in fusion tables on Google Maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android App showcasing Fusion Tables POIs on Google Maps

This repo contains an Android App that queries a Fusion Table and displayes its locations as markers on Google Maps.

Project setup

  • Download and install Android Studio
  • Create a project in the Google API Console
  • Enable the Google Maps Android API
  • Enable the Fusion Tables API
  • From API Manager Credentials > click on "create credentials" > "API key" > copy and paste the key in the google_maps_api.xml files, there is one for debug, one for release:
    • app\src\debug\res\values
    • app\src\release\res\values
  • From IAM & Admin Service Accounts > click on "create service account" > for "Role" select: "Project", "Service Account Actor" > enter a name and an account ID > click on "Furnish a new private key" > click on "Create" > your browser should download a json file containing the private key > rename it to service_account_credentials.json and copy it to app/res/raw/ (create a subdirectory called "raw")
  • If you didn't check the checkbox to create the key, you can still click on the 2 dots on the righter side of the service account and click "Create key" > the browser will download the json file at that moment

If you followed these instructions properly you should be able to open the project in Android Studio and debug it.

Enjoy and feel free to create issues if you find bugs in this example, so I can keep it updated.

About

Android example app to display point of interests saved in fusion tables on Google Maps


Languages

Language:Java 89.5%Language:HTML 10.5%