Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AravindVijay7 committed Nov 14, 2018
2 parents fa1cf3e + 4625550 commit dde64ec
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
# GeoLocator-Android
# GeoLocator-Android
Using GeoLocator-Android you could easily get you GPS based location from Android Devices




# Gradle / Maven dependency
At the moment we do not have a publishing mechanism to a maven repository so the easiest way to add the library to your app is via a JitPack Dependency

# Add this to you project.gradle

allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}

# Add this to your App.gradle

dependencies {
implementation 'com.github.AravindVijay7:GeoLocator-Android:Tag'
}


# Usage


Initaialize GeoLocator:

GeoLocator geoLocator = new GeoLocator(getApplicationContext(),MainActivity.this);

get latitiude and lontitude by:

geoLocator.getLattitude()
geoLocator.getLongitude()

0 comments on commit dde64ec

Please sign in to comment.