Android touch events when screen is dark(ish)? -


i've got samsung galaxy tab, likes dim light on device after half minute. when touch screen, turns on light again, sends touch event whatever view located touched, end clicking on didn't mean click.

is there way know screen has dimmed lights, touch events shouldn't sent through views?

update: use flag keep_screen_on each activity, don't want to. auto-dimming restrains battery use, if it's possible i'd else.

you should able read current brightness setting here:

http://developer.android.com/reference/android/provider/settings.system.html#screen_brightness

i found quite annoying well, don't know if should app's job fix it.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -