Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Android Reactivelocation | 2,117 | 117 | 1 | 3 years ago | 11 | September 29, 2017 | 32 | Java | ||
Small library that wraps Google Play Service API in brilliant RxJava Observables reducing boilerplate to minimum. | ||||||||||
Rxgps | 309 | 4 years ago | 6 | apache-2.0 | Java | |||||
Finding current location cannot be easier on Android ! | ||||||||||
Airlocation | 251 | 2 years ago | Kotlin | |||||||
Rxlocationmanager | 115 | 5 years ago | 5 | mit | Kotlin | |||||
RxJava wrap around standard Android LocationManager without Google Play Services | ||||||||||
Lubmerjack Automation | 102 | 2 years ago | 1 | Python | ||||||
The code which plays LumberJack game for you | ||||||||||
Android Easylocation | 97 | 5 years ago | 5 | apache-2.0 | Java | |||||
Google play service - location services wrapper | ||||||||||
Cordova Plugin Request Location Accuracy | 92 | 45 | 2 | 4 years ago | 12 | May 21, 2019 | 2 | Java | ||
Cordova/Phonegap plugin for Android and iOS to request enabling/changing of Location Services by triggering a native dialog | ||||||||||
Android Location Example | 60 | 8 years ago | 1 | mit | Java | |||||
Project files for a blog post about the basics of using location in Android via Google Play Services | ||||||||||
Android Location Example Refactored | 55 | 8 years ago | 2 | Java | ||||||
Alternate project files for a blog post about the basics of using location in Android via Google Play Services | ||||||||||
Locationestimatr.github.io | 32 | 3 years ago | 1 | JavaScript | ||||||
This is a game where you are put anywhere on earth, and you have to figure out where you are |
Finding current location cannot be easier on Android !
- RxJava2 compatible
- Automatically ask for gps runtime permissions
- Check if play services are available for you ;)
compile 'com.github.florent37:rxgps:(last version)'
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
}
});
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
}
});
Forked from patloew RxLocation patloew/RxLocation
And use tbruyelle RxPermission tbruyelle/RxPermissions
Author: Florent Champigny http://www.florentchampigny.com/
Blog : http://www.tutos-android-france.com/
Fiches Plateau Moto : https://www.fiches-plateau-moto.fr/
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.