Questions tagged [android-settings]

android-settings can refer to a class that contains constants values used to launch system preferences screens. For example, launch an intent to the network management screen.

The Settings provider contains global system-level device preferences. A list of these constants can be found here.

285 questions
0
votes
1 answer

Sys_Prop_Setting_version parameter in Android.Provider.Settings.System Class

I want a parameter from Sys_Prop_Setting_version in android which gives information about the secure system setting, containing system preferences that applications can read but are not allowed to write. I searched this parameter in…
Shailesh
  • 657
  • 2
  • 13
  • 27
0
votes
0 answers

Change Android studio screen capture settings

Default Screen Capture Settings: Settings I want to be displayed every time. Whenever I capture the screen, I need to change the settings. Is there any way to change the default settings.
Prabs
  • 4,923
  • 6
  • 38
  • 59
0
votes
0 answers

Hide settings app icon in dropdown menu

I need to hide a Settings app (gear) icon from Android dropdown menu (when you swipe down). Do you have any thoughts about this use case?
P. Savrov
  • 1,064
  • 4
  • 17
  • 29
0
votes
0 answers

Android: How to create system preferences screen for InputMethodService

I'm building a soft keyboard, and I can't figure out how to properly build a preferences screen that shows up in the system settings. I've built the elements screen in xml (preferences.xml), I've populated the options (just a simple ListPreference…
0
votes
1 answer

How to find out list of constants in Android Settings

Android has various Settings classes, including Settings.Secure, Settings.System, Settings.Global. Within these classes, there are constants. For example, in Android 4.3 and above, Settings.Secure has "bluetooth_address" which contains the BT MAC…
user1118764
  • 9,255
  • 18
  • 61
  • 113
0
votes
1 answer

Getting bluetooth address via Settings.Secure

I'm trying to get the MAC address of Android devices via Settings.Secure, using the following code: String btMac = android.provider.Settings.Secure.getString(getApplicationContext().getContentResolver(), "bluetooth_address"); It works for several…
user1118764
  • 9,255
  • 18
  • 61
  • 113
0
votes
1 answer

React to change in settings activity in android

Ok, so the thing is that i'm trying to get my android application to have a settings activity for the user to be able to change some of the application's features (language, theme, ...). My problem comes when trying to get the app to react to the…
0
votes
1 answer

How to Open Notification center from Application

I am using following code to open Application settings, but I need to open Notification center from my application.Is it possible to open Notification center from the application? If so, Please guide a way to do so. Intent intent = new…
dev90
  • 7,187
  • 15
  • 80
  • 153
0
votes
3 answers

How to verify email input in android settings

How can I verify a user enters email address in a EditTextPreference for android setting ?
S.L.
  • 69
  • 10
0
votes
0 answers

How to notify the system setting changed in Android

I develop an app (push to /system/app)and want to modify some system settings, I do like the public void changeAnimationSettings(boolean isChecked) { int result1 = isChecked ? 0 : 1; Settings.Global.putInt(getContentResolver(),…
Shuai Wang
  • 335
  • 1
  • 8
  • 20
0
votes
1 answer

Android PreferenceFragmentCompat custom layout list_container error

I want to add custom layout with Preferences List. but it gives me this error. Content has view with id attribute 'android.R.id.list_container' that is not a ViewGroup class Layout:
0
votes
0 answers

I am trying to open a nested subscreen using an intent but everytime I do that the app crashes. What is the reason for it?

My nested subscreen inside an xml filename looks like this My headersActivity code public class HeadersActivity extends PreferenceActivity { public void onCreatePreferences(Bundle savedInstanceState, String rootKey)…
0
votes
1 answer

Why is my toolbar not showing anything, even though it appears and is placed correctly?

I'm trying to have a Toolbar on my SettingsActivity, and it appears correctly, but for some reason I can't get it to fill it's content at all. It just appears in a blank state. Here is my code: SettingsActivity.java: public class SettingsActivity…
KaiZ
  • 391
  • 1
  • 5
  • 13
0
votes
2 answers

How to add own setting into android system settings?

Hi I'm creating a simple app for change background but I want to put into system settings and hide from menu apps like Kidlogger Pro. I found this answer but it is only available with TTS options?
Cami Rodriguez
  • 1,057
  • 4
  • 14
  • 30
0
votes
0 answers

How to enable all input methods is AOSP?

I found Preference fragment (com.android.settings.inputmethod.InputMethodAndSubtypeEnabler.java https://github.com/android/platform_packages_apps_settings/blob/master/src/com/android/settings/inputmethod/InputMethodAndSubtypeEnabler.java), where I…
Pein
  • 1,059
  • 3
  • 10
  • 31