ruleant / getback_gps Goto Github PK
View Code? Open in Web Editor NEWOpen Source Android app for finding your way back to a previously visited location using GPS coordinates.
Home Page: https://ruleant.github.io/getback_gps
License: Other
Open Source Android app for finding your way back to a previously visited location using GPS coordinates.
Home Page: https://ruleant.github.io/getback_gps
License: Other
Replace the refresh text in the menu with the Android refresh icon
info like, status of the provider, number of sattelites (in case of GPS)
Use the remembered last location if it is better/more recent than the current location, regardless of the active location provider.
Create a better app icon, fe. a spindle of wire
Find out how to store a location (or multiple ones) persistently, even after the app is restarted.
Rotating an image is only available from SDK API level 11, use prerotated images instead, or draw a dynamic pointer on screen.
'How to use' page :
display Action asking for confirmation : 'Are you sure you want to store this location?'
When only relying on the location data (GPS/network), the actual bearing can be inaccurate, f.e. when you turn around, the change in bearing will only be apparent by the GPS location after having moved in the new direction.
Using internal gyroscope and/or electronic compass, the current bearing can be detected faster and more accurately.
TODO :
When getting closer to a stored location, give a warning when the current altitude is significantly different from the destination location.
Required : #31
generated code : BuildConfig and R classes
This screen/activity uses the getLocation, savedLocation and getRelativeDistance classes to display the right distance and direction to the saved location
to resolve issue https://github.com/nijel/weblate/issues/286
see : http://blog.octo.com/en/add-lint-checks-to-android-maven-builds/
Format longitude and latitude :
Add an option to preferences to choose prefered system (metric, imperial)
Applies to :
Refactor AbstractAriadneActivity and limit access to private properties, using getter methods.
Some methods (like update LocationProvider and updateLocation) can be moved from the child classes to the abstract parent class.
The sole purpose of the 'saved' property is to be sure that an actual location was saved in sharedpreferences.
https://developer.android.com/guide/topics/resources/string-resource.html#Plurals
See Checkstyle warnings for occurences that should use the actual current Locale
One pointer pointing up, and also a rotated version for 45°, 90°, ..., 270°, 315° (to be used in issue #43)
Calculate distance and direction from the current location to a stored location.
To get a relative direction, the current direction in which the user is moving is needed, thus at least two location points.
Don't calculate distance/direction when no location is stored.
When clicking the store location button, the entire location object is copied, also speed, accuracy, timestamp, ... This messes up the layout of the MainActivity.
BTW : This issues resolves itself when the activity is restarted, and the saved location is retrieved from local storage, because only long/latitude is stored in local storage.
Add a function to clear a stored location. this means removing the data from the SharedPreferences file and removing the current location from the object.
find a way to refresh the data on the acitivity display when the location is updated by the location provider
Convert current project to use Maven2 for Android
change LocationStore class to store more than one location
When getting closer to a destination, it makes sense to have more frequent updates, and thus getting a higher location accuracy.
-> Add option to automatically adjust location update intervals based on distance from chosen location.
f.e. 1 sec, 5m when closer than 100m; 10sec, 10m when 100m-1000m; ...
Stored longitude/latitude string (in SharedPreferences) contains a comma as a decimal separator. This crashes the Location.convert method
-> find out why a comma is stored
possible solutions :
replace the Location objects by the Ariadne_Location object that will override the getString() method, outputting the object in a better format
fe. m -> km or ft -> mi
For location -> when timestamp of current location is too old, when accuracy is too big, when there are not enough satellites (in case of GPS)
For bearing -> when timestamp is too old, or location has no bearing and (prev. loc = curr. loc. or no previous location)
When loc_update_time and loc_update_dist preferences are changed, registering with LocationManager in LocationService should be updated.
button redirects to config section of android to enable/disable gps
translate interface to Dutch and write tests that check it is actually translated in the appropriate places.
Try setting up weblate for the translation.
Create class to retrieve location data from a location provider (gps, cell, network, ...), either continuously or at a one time request, if necessary using a background task, it should also check the accuracy of the location and try to find a better signal if available (fe. if no gps signal is available, take a location based on wifi or cell network info)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.