Skip to content

DistanceTrackingApp is an android app which get user current location and display distance to user covered by user.

Notifications You must be signed in to change notification settings

shahzadafridi/DistanceTrackingApp

Repository files navigation

DistanceTrackingApp

DistanceTrackingApp is an android application. It gets current location of user and calculate distance between next and previous coordiantes. It gets location after every 15 seconds so which produce multiple latitudes and longtitudes, this way distance calculated then converted into KM. In this application contain Foreground Service, display details in notification and Activity Recognition

Foreground Service

Foreground service is used to get location even if the application is minimize or goes to background. Calculated distance in meters are display on the notification like Google Navigation

Activity Recognition

Activity Recognition gives our Android device the ability to detect a number of our physical activities like walking, riding a bicycle, driving a car or standing idle. All that can be detected by simply using an API to access Google Play Services, an increasingly crucial piece of software available to all Android versions.

Demo

Image 1

Image 2

In the notification you can see event. Event indicates activity recognition and update according the changes in activity recognition such as walk, running, driving etc.

Contact

License

Copyright 2019 Shahzad Afridi

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.

About

DistanceTrackingApp is an android app which get user current location and display distance to user covered by user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages