tags:

views:

130

answers:

1

I want to adjust display settings in my activity.

Intent intent=new Intent(Settings.ACTION_DISPLAY_SETTINGS);    
startActivity(intent);

got exception:

09-24 21:24:35.901: ERROR/AndroidRuntime(5892): 
android.content.ActivityNotFoundException: 
    No Activity found to handle Intent 
        { action=android.settings.DISPLAY_SETTINGS }
A: 

The Intent Settings.ACTION_DISPLAY_SETTINGS works fine with Android SDK 1.6. [Atleast for me.]
But then the documentation states
"In some cases, a matching Activity may not exist, so ensure you safeguard against this."

bhatt4982