Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
[Android] Better back-light control

 
Post new topic   Reply to topic    TrekBuddy Forum Index -> WishList
View previous topic :: View next topic  
Author Message
JNT



Joined: 10 Jan 2009
Posts: 409
Location: Sweden

PostPosted: Thu Jan 14, 2016 3:47 pm    Post subject: [Android] Better back-light control Reply with quote

I would really like to have better back - light control directly in trekbuddy. Many times android dims the screen at the worst time possible.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5658

PostPosted: Thu Jan 14, 2016 4:41 pm    Post subject: Reply with quote

Better how? TB is supposed to able to prevent screen from dimming and also let user set brighness level...
Back to top
View user's profile Send private message
JNT



Joined: 10 Jan 2009
Posts: 409
Location: Sweden

PostPosted: Thu Jan 14, 2016 5:45 pm    Post subject: Reply with quote

Well, then I must be doing something wrong because I have never been able to prevent the screen from dimming since about android 4... Confused
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5658

PostPosted: Fri Jan 15, 2016 9:11 am    Post subject: Reply with quote

Does it dim the screen completely? I was testing it yesterday on Android 4.0 Xperia, and I noticed that a light sensor (?) is somehow affecting the level of brightness selected by TB (possible values are 0, 10, 25 ,50, 100%), but still TB was able to prevent the screen from going to be completely turned off.
Is your device 4.4+? Android version 4.4 brought a lot of changes, maybe I really need to improve it for new versions.
Back to top
View user's profile Send private message
boowoo



Joined: 12 Jun 2013
Posts: 537
Location: France

PostPosted: Fri Jan 15, 2016 9:25 am    Post subject: Reply with quote

Hi,

I've tested your trouble and no problem for android 4.0.x and android 4.1.x.
The only (small) problem is the slow reaction ! Wink
Back to top
View user's profile Send private message
JNT



Joined: 10 Jan 2009
Posts: 409
Location: Sweden

PostPosted: Fri Jan 15, 2016 11:56 am    Post subject: Reply with quote

kruch wrote:
Does it dim the screen completely?
It is dimmed, but not technically off. On most my devices, out in the direct sunlight, unfortunately dimmed is as good as off... So even though the screen is still technically on, it is not really usable like that. Normally (when I remember) I set the android display time-out to the maximum before I start sailing, then it takes 30 minutes before it dims, but it is a little annoying to have to do that each time...


kruch wrote:
Is your device 4.4+?

Yes, the devices I use(d) most:
The S3 was on 4.4.x (sadly I don't have it anymore...)
The S6 is on 5.0.2
The Nexus 7 is on 6.0.1

kruch wrote:
Android version 4.4 brought a lot of changes, maybe I really need to improve it for new versions.
Probably a good idea.

But, of course there are many more wishes that I really would appreciate even more... Cool Wink and since everything is frozen (was -29°C this morning) I am playing around with my sailing trekbuddy CMS, dreaming of next season.
Back to top
View user's profile Send private message
Ranger



Joined: 12 Dec 2006
Posts: 6027

PostPosted: Fri Jan 15, 2016 1:45 pm    Post subject: Reply with quote

Case tested on 4.2.2 and 4.4.2 Android Xperia's and 5.0.1 Android tablet.
Looks the same as described, when power saver starts, screen brightness is reduced. Any screen touch or keypress returns to TB level set.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5658

PostPosted: Fri Jan 15, 2016 9:17 pm    Post subject: Reply with quote

I've changed backlight control to the mechanism recommended by current android docs.

http://www.trekbuddy.net/dev/2016-01-15/trekbuddy.apk
Back to top
View user's profile Send private message
Ranger



Joined: 12 Dec 2006
Posts: 6027

PostPosted: Fri Jan 15, 2016 9:32 pm    Post subject: Reply with quote

Looks fixed Smile
Back to top
View user's profile Send private message
JNT



Joined: 10 Jan 2009
Posts: 409
Location: Sweden

PostPosted: Sat Jan 16, 2016 8:19 am    Post subject: Reply with quote

Yes, I agree. Fantastic! Much appreciated. Very Happy

If we could get a small (temporary) visual popup confirming the brightness level, it would make it perfect. Cool


(I always seem to go past the brightest level, thinking surely it is not yet, and have to go around again, counting the levels.)

Edit:

Thinking about it, it would be more efficient if a long-press would bring a pop-up choice list of available levels that could then be chosen directly. Not sure this would be possible though...
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5658

PostPosted: Mon Jan 18, 2016 6:56 pm    Post subject: Reply with quote

Simple confirmation notification added.

http://www.trekbuddy.net/dev/2016-01-18/trekbuddy.apk
Back to top
View user's profile Send private message
JNT



Joined: 10 Jan 2009
Posts: 409
Location: Sweden

PostPosted: Tue Jan 19, 2016 7:22 am    Post subject: Reply with quote

Thanks! This will save me a lot of frustration Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> WishList All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group