This project allows user to get current location of user using google play services.Just copy the location package and you are good to go.No need for permission check, settings check, plays service check..these are already done for you.
Alternatives To Location
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
2 years agoKotlin
6 years ago35apache-2.0Java
Lightweight Android launcher
6 years ago1apache-2.0Java
Flutter Incall Manager56
2 years ago13iscJava
13 years agomitRuby
Plug-and-play data persistence created for Ruby applications.
Package Play19
10 years ago2gpl-2.0Java
Tool for viewing Android package details, including permissions, services, activities, and more.
Play Scalasecure16
11 years agoJavaScript
Car Parking Mobile Application Prototype10
2 months agoapache-2.0Java
Brutehack Backend7
7 years agoScala
The backend for BruteHack
Gitbox Web7
12 years agoJava
GitBox web application, let you manage repositories and permissions easily
Alternatives To Location
Select To Compare

Alternative Project Comparisons

This project is build to simplify the process of getting current location using google play services.I have been looking all over the internet for options where in one click you get the locations. You do not have to handle so much of logic whether settings is satisfied or not, whether permission is allowed or not, whether playservice is available or not. Well i tried to reduce the burden by separating the logic of access permission, check settings and connecting to play service api for location in an independent package. Now you just have to copy that package to your application and define some gradle in your app module file and your are good to get location.

To use this please follow the following steps

step 1: add following in your app level build.gradle file.

       compile 'com.google.android.gms:play-services:11.4.2'
       compile 'pub.devrel:easypermissions:1.0.1'

step 2: add following permission to your manifest

 <uses-permission android:name="android.permission.INTERNET" />(optional)
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission>

step 3: Add following lines to your strings.xml file

   <string name="rationale_location">This app needs to access location.</string>
<string name="setting">Settings</string>
<string name="cancel">Cancel</string>

step 4: Add copy and past location package along with all the files to your project.(Go to app->src->main->java->aliani->locator->location

And congratulation, you have successfully set it up.

Now in your activity or fragment wherever you want to get location just override on resume method of activity or fragment and add following.

protected void onResume() {
    new PermissionImpl(MainActivity.this,MainActivity.this).giveMeCurrentLocation();

this will ask you to implement LocationView interface and the following callbacks will give you the location .

public void next(@NonNull Location location) {

public void error() {
    //show appropriate error text here.
Popular Permission Projects
Popular Play Framework Projects
Popular Security Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Android Studio
Google Api
Location Services