Re: gpx recording stops when screen switched off in new versions

2019-04-02 Thread Harry van der Wolf
I uninstalled OsmAnd and reinstalled it.
Now it functions fine. I will close the issue.

Harry

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


showing routes driven on a several day trip

2019-04-02 Thread ra
urgent ask for help: I will be on an island trip by car and would like 
osmand to make a trace of every street I took during several weeks. is that 
possible, how?

ideal would be if every road taken would remain visible tracked (wit a red 
line or so) as long as I want (not a daily track but a continuous one). if 
you have an idea how to accomplish that please let me know very soon! thank 
you!

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gpx recording stops when screen switched off in new versions

2019-04-02 Thread Harry van der Wolf
Op di 2 apr. 2019 om 10:52 schreef Majka :

>
> Some devices need more - battery saving for an app needs to be switched
> off and the app has to be locked in the memory. Most devices work with just
> disabling the battery saving and Osmand fine. Some needs additionaly to
> lock the app in the memory (MIUI, for example). If your system has
> something similar, you have to do it as well. Check the permissions as well
> - how these work is not that straightforward. The permissions are grouped
> such a way that you sometimes need to give permission which by the name
> seems to be quite a different from the reason why you need it.
>
> I don't have this problem with latest OsmAnd (nightly), it seems to be
> specific to your system. Just to be clear, I am not saying it is not a true
> problem for you.
>
> Majka
>


The only android permission that would do this is  
in combination with


Both have been enabled in the AndroidManifest.xml

of Android
On higher versions of Android (7.0 and up) some permissions need to be
requested also in the activities. I do not know whether

PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE);
WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
"MyApp::MyWakelockTag");
wakeLock.acquire();

This permission seems to be disabled on my phone for OsmAnd.

Note that I do not want the

getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);

I want the screen to switch off.

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gpx recording stops when screen switched off in new versions

2019-04-02 Thread Harry van der Wolf
Op di 2 apr. 2019 om 08:29 schreef Helmut Jarausch :

> Have you checked that OSMAND is excepted from any battery saving mode?
>
>
That's what I mentioned.

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gpx recording stops when screen switched off in new versions

2019-04-02 Thread Majka


On Monday, 1 April 2019 20:43:52 UTC+2, Harry van der Wolf wrote:
>
>
> I created a new issue: https://github.com/osmandapp/Osmand/issues/6766
> Anyone else experiencing the same?
>
> Text from the issue:
> ===
>
> Motorola G5-plus, Android 8.1.0 OsmAnd 3.3.x
>
> Since the option to make OsmAnd a "device admin app" has been removed, the 
> gpx tracking stops when I switch off the screen.
> When hiking I want to record my track, but I do not need to see my screen 
> so I switch it off.
> Then the tracking stops until I switch on the screen again.
> This is really an annoying bug.
> In the mean time I tried other tracking apps and they simply continue 
> tracking with the screen off, and they are not device admin app either.
> I did check whether the app is in battery optimize mode, but it is 
> definitely not.
>
> Please repair this bug.
>
> =
>
>
> It makes OsmAnd unusable for me.
>
>
> Harry
>

Some devices need more - battery saving for an app needs to be switched off 
and the app has to be locked in the memory. Most devices work with just 
disabling the battery saving and Osmand fine. Some needs additionaly to 
lock the app in the memory (MIUI, for example). If your system has 
something similar, you have to do it as well. Check the permissions as well 
- how these work is not that straightforward. The permissions are grouped 
such a way that you sometimes need to give permission which by the name 
seems to be quite a different from the reason why you need it.

I don't have this problem with latest OsmAnd (nightly), it seems to be 
specific to your system. Just to be clear, I am not saying it is not a true 
problem for you.

Majka

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gpx recording stops when screen switched off in new versions

2019-04-02 Thread Helmut Jarausch
Have you checked that OSMAND is excepted from any battery saving mode?
Have you Greenify installed?
Anyway, I prefer a different solution. I'm using "GPS Logger" which drains
less battery. You can then copy the track saved by GPS Logger to the folder
/files/tracks by using any file manager (like FX).
Helmut


Harry van der Wolf  schrieb am Mo., 1. Apr. 2019, 20:43:

>
> I created a new issue: https://github.com/osmandapp/Osmand/issues/6766
> Anyone else experiencing the same?
>
> Text from the issue:
> ===
>
> Motorola G5-plus, Android 8.1.0 OsmAnd 3.3.x
>
> Since the option to make OsmAnd a "device admin app" has been removed, the
> gpx tracking stops when I switch off the screen.
> When hiking I want to record my track, but I do not need to see my screen
> so I switch it off.
> Then the tracking stops until I switch on the screen again.
> This is really an annoying bug.
> In the mean time I tried other tracking apps and they simply continue
> tracking with the screen off, and they are not device admin app either.
> I did check whether the app is in battery optimize mode, but it is
> definitely not.
>
> Please repair this bug.
>
> =
>
>
> It makes OsmAnd unusable for me.
>
>
> Harry
>

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osmand+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.