Hi Jacqueline, Thank you for this reply. I keep working with this issue, but I still cannot resolve it. When I put the Android phone down on a table, to be still, the compass heading from LC jumps up and down by as much as 10 degrees - way too big of a range just to round.
However, the compass app I downloaded on that same device is rock steady. I really wish it would just work, rather than having to massage the data from the device. On Mon, Aug 13, 2018 at 4:24 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 8/11/18 3:34 PM, Jonathan Lynch via use-livecode wrote: > > I have a new galaxy phone. When I read the mobile compass, both magnetic > heading and true heading constantly change - even if the phone is laying > down still. It changes up and down randomly by 5 degrees or so. Does anyone > know if this is a problem with LC or with galaxy phones? My iPhone does not > do this. > > My Galaxy S5 does the same thing with a LC compass I made. My guess is > that's the way Android reads GPS data. When it tries to find my house, > it does a whole bunch of hops around the circumference before settling > down on the center, and even then it still twitches as it tries for more > accuracy. > > A compass I downloaded from the Play Store does not do that on my Pixel. > I'd guess that the app is doing some rounding to the nearest integer, > since it doesn't display fractional values. > > Try downloading a few of the dozens of compasses on the Play Store and > see how they behave. It may be that LC is actually more precise than you > want it to be. I do know that LC is only reporting what the OS tells it. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode