This is the repo for the speedmeter android app. It can display some useful information about your route:
- The actual, real-time speed
- The time elapsed
- How many meters or kilometers you traveled
- Your maximum speed
Display the gps speed [Android]
License: GNU General Public License v2.0
I've noticed this a few times now. Sometimes the program thinks it has lost GPS, when it hasn't.
http://i.imgur.com/YkCSeUj.png
I just started it and pressed go. It had satellites, then suddenly jumped to 0 and claims to have lost the GPS fix, yet the accuracy keeps getting better (so obviously, there is a fix). It's stuck in this until I switch to another app and back.
Please update F-droid version if you got time, its from 2015! Many privacy concerned users don't have play store access.
All of the speed limit signs where I live are in miles per hour only. Would it be possible to make SpeedMeter use miles per hour?
1 meter per second = 2.23693629 miles per hour so that would be the number to use in the code rather than 3.6. It could be an option.
When riding bicycle I use my phone fixed at the handlebar. It would be nice to have an option for changing the background from bright red to a darker for seeing the velocity (white numbers) well in bright sunlight.
Thank you for this nice speedmeter.
This includes a fix for imperial #25, important for those of us accustomed to inferior measurements. Could you tag a new release and push to Google Play Store? This would be the first release in 2 years.
Hello!
I created a new project in AndroidStudio and imported your project but I get this error on mLocationManager.requestLocationUpdates and it's crashes. Any adivces?
This said about error: Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with checkPermission) or explicitly handle a potential SecurityException.
Thank you!
Suggestion:
Pressing anywhere on the top two thirds of the screen would make a bicycle bell sound, or user selected mp3/ogg file.
Reason: so you don't have to put a bicycle bell on your bike/scooter/electric scooter.
Thanks.
I just setup my local system and build this project. I take worth dependency downloaded and I did successfully build gradle but in the app this show on nav bar and in the home page olny searching.
getAverageSpeed and getAverageSpeedMotion might return NaN if time or motionTime is smaller than 1000.
The step (time / 1000) or (motionTime / 1000) will divide (long)/(int) producing long therefore long.
if time or motionTime is smaller than 1000 e.g. 6 the division should be 0.006 but since it is long the output will be 0.
The solution would be to change the step to (time / 1000.0) or (motionTime / 1000.0)
I've noticed this a few times now. Sometimes the program thinks it has lost GPS, when it hasn't.
http://i.imgur.com/YkCSeUj.png
I just started it and pressed go. It had satellites, then suddenly jumped to 0 and claims to have lost the GPS fix, yet the accuracy keeps getting better (so obviously, there is a fix). It's stuck in this until I switch to another app and back.
Please provide more info about project. So it will help to every body basic overview about this project.
This morning I tried Speedmeter while cycling to work. The current speed seemed to be accurate in the most cases (difference to actual cycling computer usually 1km/h).
I travelled my usual 8 km to work, but the distance it said was 12.363 km. The average speed was 28 km/h because of this, the actual average was 19.55 km/h.
It stated the Accuracy would be 2-5m most of the time.
v1.2
When the GPS fix is lost, the app still shows the last accuracy it had before the fix was lost. This is confusing, making the user think he still has a fix.
It would be better if the accuracy was shown as ------ when the fix is lost
Whenever I tpich the "play" icon, current speed freezes in the number it was at the moment. Data records fine though, but the speed is not refreshed.
When you're stopped (e.g. at a red light), the stop time should not count towards the average speed. This is usually how bike computers work. The time spent at red lights would otherwise unnecessarily decrease the average speed.
There should be two timers, 'time' and 'movement time'. 'Time' is always counting up, while 'Movement time' is only counting as long as speed > 0. 'Movement time' is then used to calculate the average speed. (It would probably be interesting to show both times on the screen tho)
This mode could be made optional and added to the (still empty) settings screen :)
It would be useful to have the heading as 3 digits (000 to 359).
Sorry for the stupid question as I am new to mobile dev.
Is it possible to integrate this into a Xamarin.Forms (cross platform) project?
Hi @flyingrub
I found this app on the Google Play Store. This guy just took your source code, added some ads in it and put it on the Store, without warning this is free software...
As you are the owner of the source code, feel free to open a request to google here to remove the false app from the Store, if it's your wish ;)
Don't forget to tell Google that:
Can you please let me know the reason why this code is not working on Android 11 and Android 12 version.
Its always showing only loading on the screen.
Can we track speed with GPS provider in latest (Android 12) phones?
If it is possible please let me know what we need to fix on this code.
Appreciate the help, Thanks.
v1.2: There are two issues with the notification
a) It is not translated. My system is English, yet I am getting a French notification from the app
b) Tapping the notification does not bring up the app, which would be expected behavior
The app really needs landscape orientation of the screen. Please make it in future versions.
I'm using v1.2.
When I was stopped, my speed should be 0km/h. Yet the app consistently showed 4km/h. The distance counter however was not incrementing so internally the program seemed to know that the speed was 0.
During this time, I had good GPS connectivity.
After working around #8 by keeping the display on, Speedmeter seems to be working so far. And I'm loving the way it looks! There's one issue tho: http://i.imgur.com/O1DzLlr.png
Apparently I travelled 8830 km in less than an hour? But I'm no supersonic jet! :) This is probably supposed to be 8.830 km.
(While I'm here: It should be km, not Km. And why do the speeds get no decimal places?)
After x hours, this application stopped and when I consult it I find this line '0 process and 1 service' !
can u tell me a bit about this problem if you have an idea
thank you in advance
Could SpeedMeter gather and show the current elevation? Or is this outside the scope of the program. This seems to be a natural and related data to speed.
I like starting speedmeter, then putting it into my pocket, to have some stats when I finish my tour. Unfortunately, the new version doesn't work this way, distance and average speed remain at 0. Could it be because the new version shows no notification?
Sometimes I wish I had more details about the gathered data (e.g. when was the maximum speed achieved, or a way to investigate if I'm suspecting that the data is wrong). Maybe it should have an option to write gathered data to a file?
F-Droid version 2.3.1. The option "Use miles per hour" in settings really should be "Use Imperial measurements" instead. Those of us in the US who continue to cling to our outdated imperial measurements for distances and speeds would also like to see the distance traveled, max speed, and average speed reported in imperial measurements as well. Therefore the option "use miles per hour" in settings really should toggle all the distances/speeds to display in imperial measurements. So this is really an "enhancement" request. Thanks.
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.