Find out how to build a simple Hikers Watch app. Author Melvin Kisten tackles location classes, permissions and API's.
-
Make sure you have these installed
-
Clone this repository into your local machine using the terminal (mac) or Gitbash (PC)
> git clone https://github.com/iammelvink/hikers-watch.git
-
Vist Google Cloud Platform Console and Sign Up or Sign In if you already have an account
-
Copy your API key from Google Cloud Platform Console and paste at file :
app\src\main\AndroidManifest.xml
at the line where you see thisYOUR_API_KEY
:<meta-data android:name="com.google.android.geo.API_KEY" android:value="YOUR_API_KEY" />
-
Run Android Studio and choose Open an existing Android Sudio project
-
Press play button to run the app
Check out some of my other stuff on iammelvink. Follow me on Twitter and Instagram, or check out my YouTube channel.