0

I am making a widget that changes system screen brightness on click. I did it like on this post Everything works well, but changings brightness takes approximately 1 second, but I want to change it immediately, like it does default android widget. How can I do it?

Community
  • 1
  • 1
geNia
  • 985
  • 9
  • 20

1 Answers1

0

I feel like this question is similar, correct me if I'm wrong

Changing screen brightness programmatically (as with the power widget)

Community
  • 1
  • 1
Oleksiy
  • 37,477
  • 22
  • 74
  • 122
  • It's not similar. He cannot change brightness after closing his app, but my widget works well. I just can't change brightness immediately. – geNia Jun 21 '13 at 16:25