Rxgps

Finding current location cannot be easier on Android !
Alternatives To Rxgps
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Android Reactivelocation2,11711713 years ago11September 29, 201732Java
Small library that wraps Google Play Service API in brilliant RxJava Observables reducing boilerplate to minimum.
Rxgps309
4 years ago6apache-2.0Java
Finding current location cannot be easier on Android !
Airlocation251
2 years agoKotlin
Rxlocationmanager115
5 years ago5mitKotlin
RxJava wrap around standard Android LocationManager without Google Play Services
Lubmerjack Automation102
2 years ago1Python
The code which plays LumberJack game for you
Android Easylocation97
5 years ago5apache-2.0Java
Google play service - location services wrapper
Cordova Plugin Request Location Accuracy924524 years ago12May 21, 20192Java
Cordova/Phonegap plugin for Android and iOS to request enabling/changing of Location Services by triggering a native dialog
Android Location Example60
8 years ago1mitJava
Project files for a blog post about the basics of using location in Android via Google Play Services
Android Location Example Refactored55
8 years ago2Java
Alternate project files for a blog post about the basics of using location in Android via Google Play Services
Locationestimatr.github.io32
3 years ago1JavaScript
This is a game where you are put anywhere on earth, and you have to figure out where you are
Alternatives To Rxgps
Select To Compare


Alternative Project Comparisons
Readme

RxGps

Finding current location cannot be easier on Android !

- RxJava2 compatible

- Automatically ask for gps runtime permissions

- Check if play services are available for you ;)

Android app on Google Play

Download

Buy Me a Coffee at ko-fi.com

In your module Download

compile 'com.github.florent37:rxgps:(last version)'

Usage

new RxGps(this).locationLowPower()

                .subscribeOn(Schedulers.newThread())
                .observeOn(AndroidSchedulers.mainThread())

                .subscribe(location -> {
                    //you've got the location
                }, throwable -> {
                    if (throwable instanceof RxGps.PermissionException) {
                        //the user does not allow the permission
                    } else if (throwable instanceof RxGps.PlayServicesNotAvailableException) {
                         //the user do not have play services
                    }
                });

GeoCoding


new RxGps(this).lastLocation()

                .flatMapMaybe(rxGps::geocoding)

                .subscribeOn(Schedulers.newThread())
                .observeOn(AndroidSchedulers.mainThread())

                .subscribe(address -> {
                    addressText.setText(getAddressText(address));
                }, throwable -> {
                    if (throwable instanceof RxGps.PermissionException) {
                        //the user does not allow the permission
                    } else if (throwable instanceof RxGps.PlayServicesNotAvailableException) {
                         //the user do not have play services
                    }
                });

Open Source

Forked from patloew RxLocation patloew/RxLocation

And use tbruyelle RxPermission tbruyelle/RxPermissions

Credits

Author: Florent Champigny http://www.florentchampigny.com/

Blog : http://www.tutos-android-france.com/

Fiches Plateau Moto : https://www.fiches-plateau-moto.fr/

Android app on Google Play Follow me on Google+ Follow me on Twitter Follow me on LinkedIn

License

Copyright 2016 florent37, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Popular Location Projects
Popular Play Framework Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Play Framework
Location
Reactive
Gps
Rxjava
Rx
Geocoder