Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
GeoLocator Added Address Nov 14, 2018
app Added Address Nov 14, 2018
gradle/wrapper Create First Nov 12, 2018
.gitignore Create First Nov 12, 2018
LICENSE
README.md Update README.md Nov 18, 2018
build.gradle
gradle.properties Create First Nov 12, 2018
gradlew Create First Nov 12, 2018
gradlew.bat Create First Nov 12, 2018
settings.gradle

README.md

Android Arsenal

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:1.0.2'

}

Usage

Initaialize GeoLocator:

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

get latitiude and lontitude by:

geoLocator.getLattitude()

geoLocator.getLongitude()

You can’t perform that action at this time.