[REQ] Gps refresh rate - Galaxy S II Q&A, Help & Troubleshooting

Hi everyone, is there a way to boost the refresh rate of the internal GPS.
I think that interpolating the coordinates from 1 Hz to 5 Hz would be very simple. Is there anyone that know something about this kind of hacks.
Thanks,Giacomo

Interpolation involves knowing both the start and the end, so you must wait for the GPS to update, so your current position will be smoother but delayed, which is bad.
You could, instead, predict the next position but this can create fake results under certain conditions.
When a developer is using an API he expects that it follows the specifications, feeding all of the Apps with possibly-incorrect data is a bad design choice. It's safer to let the App itself do the smoothing for you while keeping the correct positions for internal computations. Most navigation software do this and sometimes the prediction fails (that awkward moment when your car turns but it follows a straight line on the GPS screen and then jump to the right position).

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A

Related

[Q] Is it Possible To have a Speedometer in Google Maps?

Hello , Is it possible to add a Speedometer for the Google Maps App?
Thank You!
That's a pretty good question.
I guess you would have to capture a lat/long and start a timer. Then have a polling method to get the next set of lat/long. From that, I"m pretty sure you can get distance travelled. If you have distance travelled and time elapsed, you should be able to capture average speed.
And if you remember Calculus 1, if you make the distance travelled infinitely smaller, you'll get close to instantaneous speed.
that would be a great app
I might be able to look at this, but it's going to be a few weeks. I was actually creating a "tracker" app to allow employers to track employees in the field, but I was interrupted by another project.
Funny thing is I would think the navigation would have this. I had it on ovi maps in my Nokia nuron.
Sent from my LG-P999 using XDA App
Some of the (expensive) 3rd-party navigation solutions have this feature, it seems like a bit of a no-brainer for the Google Navigation app not to have it given its relative simplicity. I think the native GPS libs actually provide current speed natively so it should just be a case of pulling the value out of the system and overlaying it.
Well, now there is kinda cheap app to do that . Please check my thread:
[APP] gMapsSpeed | Speed info and speeding alerts for Google Navigation
That would be great! That's one of the things that I really miss about my old Blackberry. Maps was great.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

[Q] Driver or app / use GPS to spoof magnetometer

There are a lot of devices out there without a built-in magnetometer, such as the Parrot Asteroid Smart (runs gingerbread, it's a double-DIN sized car stereo head unit). Without a magnetometer, lots of apps that expect one default to true north and otherwise don't function well. I've searched an there isn't a current app/driver that will respond to magnetometer direction requests with current (or previous) GPS heading.
So here's my plan:
create a driver that sits in between the magnetometer and user-ring applications. When a request is made for current compass direction, the driver redirects to the GPS and requests current (or if not moving, previous) heading. Voila! Apps that want to talk to the compass are now happy.
This could be used for other things as well, such as bypassing the internal magnetometer (on devices where there is one), useful for playing Ingress to override the cruddy compass experience (on my HTC one, which I prefer to call my HT cone).
So, why the post? I think I've searched pretty well, looking for "no compass", "no magnetometer" and '" simulate magnetometer' gps" but the only app I found was for some ancient version of Windows Mobile, and that app put predictive data in between the applications and GPS data, smoothing the GPS output. (The concept is the same, however .... intercept geo requests and respond with modified (or in my case, new) data.)
I'm getting to work creating a driver, but so far it's not very easy going, but it is almost going (thank you github, stackoverflow) but I can't be the first person to try and use GPS heading to simulate magnetometer direction. There are base classes that provide direction, 99% of the direction apps out there are simply requesting compass direction, certainly not crunching raw magnetometer data. Conceptually it should be easy to hook that call (compassGetDirection) and respond with gpsGetHeading data.
I still haven't asked a question. So, in the interest of being annoying (yes, <==noob), please assume all the above sentences are in the form of a question, like "what do you think of ..." and "have any of you ..." or "is it possible to ..."

[Q] My first app. Where do I start?

For my very first app I've decided I want to make a camera that recalibrates the phone camera to compress the entire detectable range of light into the visible spectrum, creating a false color image that allows the user to see and photograph things normally outside the visual spectrum.
Long term I'd like to create three filters, one that only displays near infrared, one that only displays ultraviolet, and one that let's colorblind users recalibrate the spectrum to ranges they can see.
I've been programming professionally for nearly two decades and have done a few android development tutorials, but this'll be my first android app I'm making without instructions. I must admit I'm a bit lost. Where should I start?
In addition to apps in general, how would you go about getting the raw camera output (not the final image output which seems to be RGB) so that it could be manipulated?

[Q] Gear S and Nike+ ... no Heartbeat

Hi,
when I use the nike+ app for running with my gear s the gear won´t store the heart beat.
When I start the app on the watch i get asked for "Play Music", "and the Facebook question". Then the countdown start ....
It should be there a question about measure the heart beat to store the heart beat and see it synced on the Webpage. But this question did not appear on my watch.
Did anyone have the same Problem or a solution how to activate it?
(activated the watch with a S3, using the nike+ app "stand alone" without the phone, using no sim in the Watch, )
Just use the built-in S Health. The Nike+ app is very basic and missing a lot of features.
The Problem with the S Healt Training app is that it take extreme Long to fix the gps (minutes in my case) and the most important one: I can´t Export the data to a Website (nike+ have a very nice WebInterface) and I do not have a Samsung Smartphone. So Nike+ should be the choise. And the heart rate should work but it didn´t in my case...
For an initial release, Nike+ on the Gear S is terrific — but yeah, support for the built-in heart beat monitor would be swell. And since we're in wish list mode, here's my Top 5, ranked by priority, after a month of Nike+ runs:
I want the ability to set the key display metric. Right now it's distance, with a tiny little text crawl underneath for other metrics that's completely illegible while running. I usually run on time and would like that to be my chief display, others I know run on speed, or calories burned, etc.
For other settings, let me set it and forget it - don't make me have to say no to music and no to Facebook every single time. (Off topic rant: the moment someone starts cluttering their FB feed with robo-broadcast stats is the moment I cut my losses. I don't care about your daily run distance or how many toothbrush strokes you achieved or the two-point-five star rating you just gave to a pair of toenail clippers you bought last week.)
If I could choose a playlist, or even if there were an option for shuffle, then I would start saying yes to letting Nike+ play DJ for me. But listening to the same tunes in the same order every day is enough to send a guy running straight into the path of the first oncoming bus.
I'm almost always in a great mood after I run, at least until Nike+ forces me to rate my mood after I run. Please, stop with all the questions so I can hit the shower and make it to work on time.
That heart monitor thing — see above.
But I will say it again, because it bear repeating: Nike+ is off to a great start. Relatively minor grumbles aside, they're light years ahead of their current crop of competitors, all of which force you to run with both your watch and your phone. The whole reason I bought the Gear S was to ditch the phone whenever humanly possible.
jerome.carney said:
For an initial release, Nike+ on the Gear S is terrific — but yeah, support for the built-in heart beat monitor would be swell. And since we're in wish list mode, here's my Top 5, ranked by priority, after a month of Nike+ runs:
I want the ability to set the key display metric. Right now it's distance, with a tiny little text crawl underneath for other metrics that's completely illegible while running. I usually run on time and would like that to be my chief display, others I know run on speed, or calories burned, etc.
For other settings, let me set it and forget it - don't make me have to say no to music and no to Facebook every single time. (Off topic rant: the moment someone starts cluttering their FB feed with robo-broadcast stats is the moment I cut my losses. I don't care about your daily run distance or how many toothbrush strokes you achieved or the two-point-five star rating you just gave to a pair of toenail clippers you bought last week.)
If I could choose a playlist, or even if there were an option for shuffle, then I would start saying yes to letting Nike+ play DJ for me. But listening to the same tunes in the same order every day is enough to send a guy running straight into the path of the first oncoming bus.
I'm almost always in a great mood after I run, at least until Nike+ forces me to rate my mood after I run. Please, stop with all the questions so I can hit the shower and make it to work on time.
That heart monitor thing — see above.
But I will say it again, because it bear repeating: Nike+ is off to a great start. Relatively minor grumbles aside, they're light years ahead of their current crop of competitors, all of which force you to run with both your watch and your phone. The whole reason I bought the Gear S was to ditch the phone whenever humanly possible.
Click to expand...
Click to collapse
Your list is exactly the same as my list after my first few runs with Nike+ and the Gear S. How do we get this info to Nike so they can fix things and continue to make improvements?
I think it's a big deal !!!! do not respond to comments on google play. Do not respond to the email sent to Nike + and even those on the main site nike.
This is my review without any response:
Too bad we did not !!!! the application has potential, it lacks the Italian (serious) you can customize the information on Gear S (serious). Black lettering on a red background on the move with the light of day is impossible to read them. ........ maybe I have to stop and put his glasses? or I have to run in the dark? But who program an application tries to use it ?? or proof in the office running between the desks? Forgot ...... not see replies to comments, then you do not care to improve the product?
sabuccia said:
I think it's a big deal !!!! do not respond to comments on google play. Do not respond to the email sent to Nike + and even those on the main site nike.
This is my review without any response:
Too bad we did not !!!! the application has potential, it lacks the Italian (serious) you can customize the information on Gear S (serious). Black lettering on a red background on the move with the light of day is impossible to read them. ........ maybe I have to stop and put his glasses? or I have to run in the dark? But who program an application tries to use it ?? or proof in the office running between the desks? Forgot ...... not see replies to comments, then you do not care to improve the product?
Click to expand...
Click to collapse
A lot of what you wrote above is hard to read/understand from an english language perspective. I would expect that is why you didn't get a response from Nike. I have posted a question on their facebook page about the ability to add elevation tracking to the Gear S and almost got an instant response saying it would be forwarded to the development team.

Plz help me make a motorcycle alarm tracker w/ an old Android phone and tasker! Plz?

Hey Super smart and resourceful xda friends! I have a Motorcycle ('15 Honda Grom) and a scooter (Kymco Super 8. Both are prone to thievery :'( I was wondering how I could use two old Android phones as alarms and GPS trackers for my bikes. I know I wouldn't have proximity sensors at all (or could I?) But the gyroscope in the phone should be good for detecting movement. I was thinking it'd go like this. I can semi permanently mount the phone somewhere on the bikes so as they're not easily accessible/disconnected. I'd have them hardwired to the batt for power and turn off as many background processes as possible to have long standby time. I could also have a 3.5 mm speaker or rechargable Bluetooth speaker for alarm sounds should the phone detect movement. An alarm would maybe trigger a warning chirp and then sound full alarm should movement continue. I'd also like to have movement trigger a SMS to my phone and begin GPS tracking and somehow send it to my main phone. I'd use a pay as you go sim for SMS and data to send me coordinates or data about where the bike is. It'd be ideal to have a Bluetooth low energy fob on my keyring that would activate the system after I leave the vicinity of the phone. So, what do y'all think? Would this be possible with a collection of apps currently available? I know there are already products out there, but while some have GPS tracking... They don't have alarm or vice versa. Not only that but they're usually $500 and up plus subscription. I think the hardest to accomplish would be the sending of location. Please. Please. PLEASE help me out Super smart people of XDA. How would I orchestrate this in tasker and other apps to work? Thank you so so much to anyone that can help
Impossible
I did not know that its possible, lets wait for the gurus
windowstoweb said:
I did not know that its possible, lets wait for the gurus
Click to expand...
Click to collapse
Hard to say it's impossible with all of what Android is capable of. Especially with tasker. I think you're writing it off too soon. I have a little experience with tasker, it's just I need someone more knowledgeable to go that extra bit. I've outlined how the hardware would work. It's all sound as far as working. Now just the software is needed. Perhaps have a tasker trigger that when Bluetooth fob is in range, all of the subsequent tasker profiles are disabled. Once fob leaves or isn't detected, tasker activates profiles for gyroscopic movement which would trigger sound of alarm with a short duration. Once movement continues, alarm will set off and another profile will trigger location reporting to my main phone. It all seems doable with the right combination of apps.
Mods: is there a better forum for this that may get better exposure? I don't think this one is necessarily good fit what I'm asking. Thanks
Bump....

Categories

Resources