Browsed by
Month: November 2018

Android google map : get current location (latitude,longitude)

Android google map : get current location (latitude,longitude)

Step 1 : Create Project with Google Map Activity¬† Create a project with google map activity . and paste your api key . If your are not familiar with google map then follow the doc¬† ¬† ¬† ¬† https://developers.google.com/maps/documentation/android-sdk/start DOWNLOAD CODE FROM GITHUB Step 2 : Add dependency in Gradle File¬† Add the following dependency in gradle(app) file   Step 3:¬† Change the map Activity class to the code bellow