Hi, I am updating my application to Android 1.6 Donut, but I have a problem. I can no longer set the screen brightness using the LayoutParams.ScreenBrightness anymore. Has this been replaced with something else? I can access the method, but nothing happens when i run my application. What can I do to get this working?
This is my code, placed in the OnResume() method: WindowManager.LayoutParams lp = getWindow().getAttributes(); lp.screenBrightness = 0.5f; getWindow().setAttributes(lp); getWindow().setFlags (android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, 0); Thank you very much, Kaloer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

