DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Securing Your Software Supply Chain with JFrog and Azure
Register Today

Trending

  • Operator Overloading in Java
  • Implementing a Serverless DevOps Pipeline With AWS Lambda and CodePipeline
  • Mastering Time Series Analysis: Techniques, Models, and Strategies
  • From On-Prem to SaaS

Trending

  • Operator Overloading in Java
  • Implementing a Serverless DevOps Pipeline With AWS Lambda and CodePipeline
  • Mastering Time Series Analysis: Techniques, Models, and Strategies
  • From On-Prem to SaaS
  1. DZone
  2. Data Engineering
  3. Databases
  4. Building a Place-Based Experience With Places API and Firebase

Building a Place-Based Experience With Places API and Firebase

Using the YouTube API, the Google Places API, and Firebase, I created an Android game where you help rescue a scientist who is trapped in an alternate dimension.

Laurence Moroney user avatar by
Laurence Moroney
·
Mar. 01, 17 · Opinion
Like (2)
Save
Tweet
Share
5.12K Views

Join the DZone community and get the full member experience.

Join For Free

In my spare time, I’ve been working on a party game for Android where you can pick any three locations in the world and give them a code. When you initialize the game with that code, you’ll help rescue a scientist, Alyssa, who is trapped in an alternate dimension. The interactive story has her guide you to three locations where your dimension overlaps with hers where you can help her fix her interdimensional machine and get home.

Here’s Alyssa explaining it a bit.

So, how is a game like this built? Well, the cut scenes of Alyssa that drive the scene forward were implemented using YouTube and the YouTube API. (I’ll blog more about that part in the future.) When it comes to the game itself, the picking of places, and the detection of whether you are at those places or not is achieved using Google’s Places API.

As part of the API, Google provides a Place Picker control, which will render a map, and then recognize places on that map, allowing you to select them. Once selected, you can get the unique place ID for that place. There are over 100 million points of interest around the globe that are supported in a variety of categories from restaurants, places of worship, and bus stops to just about anywhere else you can think of.

You can see more of how I built it using the Place Picker and Firebase in this Geocast! Enjoy!

API Firebase

Published at DZone with permission of Laurence Moroney, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • Operator Overloading in Java
  • Implementing a Serverless DevOps Pipeline With AWS Lambda and CodePipeline
  • Mastering Time Series Analysis: Techniques, Models, and Strategies
  • From On-Prem to SaaS

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: