Skip to content

farooqkhan003/android-current-location

Repository files navigation

Android App for Current Location

Android App for getting current Location using Google Fused Api. And if no previous data for location is available, it gets the current location.
Here you can see the Demo Video.
For step by step tutorial visit Android Tech Point.

Follow the setps to successfully buid this app:

  1. Download Google Play Services from SDK Manager.
  2. In Build.gradle add dependency for google:
compile 'com.google.android.gms:play-services:10.0.1'
  1. Add premissions in androidmanifest.xml:
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    

    ``` ```
  2. Paste the code in you activity.

    All Done. 👍