Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Changing brigthness through settings page in app

$
0
0

Hi,

I have a settings page and using that I need to increase and decrease brightness(contrast) . This is similar to phone settings. However similar functionality should be done within the app so that app users need not switch to phone settings to do this.

Is it doable for iOS,Android,Windows Phone,Windows using Xamarin Forms?
If yes, can you let me know how to achieve the same in Xamarin Forms any samples/links ? Will it cause any issue( rejection ) when submitted for app store.

I went through these links :

Android - http://www.compiletimeerror.com/2014/02/adjust-screen-brightness-in-android.html#.VVXegf4cSas

Windows Phone (NOT Possible)
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8b12271e-0b21-460a-b190-0b007bb34148/alter-screen-brightness-programmatically-in-windows-phone-81?forum=wpdevelop
Since the brightness is a part of global settings in the windows phone we cannot change it from the App

iPhone
http://stackoverflow.com/questions/3779667/is-there-a-way-of-adjusting-the-screen-brightness-programmatically


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>