All Projects → ankitdubey021 → GPSTracker

ankitdubey021 / GPSTracker

Licence: other
No description or website provided.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to GPSTracker

FusedBulb
Location fetch library.
Stars: ✭ 22 (-45%)
Mutual labels:  gps-location, location-tracker
SimpleLocationGetter
No description or website provided.
Stars: ✭ 21 (-47.5%)
Mutual labels:  gps-location
spoofgo
An Application for Spoofing Movement written in Golang
Stars: ✭ 15 (-62.5%)
Mutual labels:  gps-location
slack-metabot
Extract metadata (EXIF) from uploaded files on Slack
Stars: ✭ 15 (-62.5%)
Mutual labels:  gps-location
Location-Tracker-Application
Sample Android Application demonstrate how to track the current location of the device in a background service and share it to the Activity in the application
Stars: ✭ 47 (+17.5%)
Mutual labels:  location-tracker
Desenvolvimento-Android-do-absoluto-zero-para-iniciantes
Visite meu site e conheça todos os meus cursos 100% on-line.
Stars: ✭ 33 (-17.5%)
Mutual labels:  gps-location
react-native-device-country
Get device location by telephony (SIM card) or settings without using GPS tracker.
Stars: ✭ 33 (-17.5%)
Mutual labels:  gps-location
wildflower-finder
Image classification of wildflowers using deep residual learning and convolutional neural nets
Stars: ✭ 25 (-37.5%)
Mutual labels:  gps-location
photos2geojson
html map gallery from photos
Stars: ✭ 39 (-2.5%)
Mutual labels:  gps-location
GPSService
Demonstrates how to use a service to regularly update a activity with data via callback. Also allows the activity to call functions on the service.
Stars: ✭ 16 (-60%)
Mutual labels:  gps-location
Swiftlocation
🛰 CoreLocation Made Easy - Efficient & Easy Location Tracker, IP Location, Gecoder, Geofence, Autocomplete, Beacon Ranging, Broadcaster and Visits Monitoring
Stars: ✭ 3,014 (+7435%)
Mutual labels:  location-tracker
EasyWayLocation
This library contain all utils related to google location. like, getting lat or long, Address and Location Setting dialog, many more...
Stars: ✭ 142 (+255%)
Mutual labels:  location-tracker
GPS-Video-Logger
Android App to record video and track GPS data simultaneously. GPS Logger with Video. GPS and video recording.
Stars: ✭ 17 (-57.5%)
Mutual labels:  location-tracker
ReminderPro
ReminderPro(location, note, voice recording)
Stars: ✭ 27 (-32.5%)
Mutual labels:  location-tracker
tracking-location-provider-android
Tracking the android mobile and animating marker smoothly in Google Maps. Tracking has been done both in foreground and background. Tested in Android Oreo 8.1, Android 6.0 and Android 5.0
Stars: ✭ 37 (-7.5%)
Mutual labels:  location-tracker
LocationTracker-WorkManager
Get Location Updates on 15 minutes interval via WorkManager.
Stars: ✭ 70 (+75%)
Mutual labels:  location-tracker

GPSTracker (out of maintenance)

Very easy and user friendly library for getting current location, address and many more thing with a few line of code. ​

Installation

In project level build file, add the jitpack repository inside repositories of allprojects as follows:

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

Gradle:

implementation 'com.github.ankitdubey021:GPSTracker:2.0'

Requirement

Add permission in manifest file as-

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

Step 1. implement MyTracker.ADLocationListener interface for getting location as callback
Step 2. override whereIAm() method

@Override
public void whereIAM(ADLocation loc) {
    System.out.println(loc);
}

Step 3. get location

new MyTracker(getApplicationContext(),this).track();

Sample code

    @Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
        //ask for permission
        ActivityCompat.requestPermissions(this, new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION}, 101);
    }
    else{
        findLoc();
    }
}

private void findLoc(){
    new MyTracker(getApplicationContext(),this).track();
}

@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
    if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
        findLoc();
    }
}
@Override
public void whereIAM(ADLocation loc) {
    System.out.println(loc);
}

license

Copyright (c) 2017 Ankit Dubey

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].