This object is in archive! 

No Sunset/Sunrise with external BT

Jürgen Holm shared this problem 9 years ago
Solved

Hi,

this is quite a minor problem. How reproduce:


1. deactivate internal GPS

2. start Locus with external Bluetooth mouse on

3. configure sunset/sunrise on top menu

4. wait for satfix


Result: unknown is displayed.


If you switch internal GPS on, sunset/sunrise is displayed. So my guess: the sunset function calls GPS data from the false progamming interface.

Replies (7)

photo
1

For sure there is a problem.

In your screenshot, locus has a satfix (green status) but no sunset/rise status - i see

hmm, but can't reproduce on 2 devices and 2 different gpsdevices.

@(3.) I have the satfix immediately after Locus starts. So I don't have to wait. Maybe that's different.

btw. All location services from system also disabled.

7960192534e7ec660af0930ffdfa1308


54326e516c39630f4f51e21c2022d736

photo
1

Ok, I'm able to reproduce your screenshot this with

ba2b92d7c6b8ef8057c3f4624a4bdd32

Did you explict disabled GPS, or did you simply switch the flight mode on?

With this the above settings and external BT mouse I got:

66810617277f4c34d8d85765a26adbca

ps: The text "bis.." is truncated because I raised the system font size by one. Maybe it's better to truncate the string output instead of "..." output.

pps: Is there a way to change the size of the images in the editor?

photo
1

1. yes


2. yes, but that's a different problem

3. no - best you don't upload big pictures

photo
1

I think I know where should be a problem.


Give me a day, I'll test it tomorrow.

photo
1

The only reqiurement for displaying sunset/sunrise is an via android activated GPS. GPS in locus may be disabled, no satfix is required.

I wonder how the sunset is calculated?

photo
1

Oki, should be fixed in next version (issue with "uknown" location).


Calculated? Few simple equations? http://en.wikipedia.org/wiki/Sunrise_equation :)

photo
1

Thank you very much!!

My question was a little bit inaccurate, sorry. For what coordinates are the sunset/sunrise values calculated?

MIddle of the card or for the actual satfix position?

photo
1

ah, always were used "last known coordinates" received by device internal system, so GPS or Wi-fi etc. In next version will be used last received location from any source, so also a BT GPS. In cases, there is no known location, there will still be "Unknown" text. Maybe I should change it to something like "No known location".

Replies have been locked on this page!