android-settings Questions
1
I am trying to make app that makes Internet and MMS settings, if the mobile operator does not support automatic settings by sms for the current device.
As it is restricted to write or read APNs fr...
Pneumatic asked 14/6, 2016 at 13:12
1
Solved
Nova Launcher opens their settings with the cogwheel in the upper right. How is this done? How would I place my app's settings activity there?
Tog asked 12/12, 2016 at 16:41
2
I wish to open the Data Usage screen from an intent.
I've searched the android.provider.Settings class for an appropriate intent.
Tried :
new Intent(android.provider.Settings.ACTION_NETWORK_OPERA...
Reeher asked 29/7, 2015 at 12:47
2
I've a ListView which has the list of installed applications and for each application, I need to know whether the notifications are enabled or not.
Currently I'm using below code to know if the not...
Garrison asked 3/10, 2016 at 13:22
2
Solved
In my code I have:
Settings.System.putInt(this.getContentResolver(), "vibrate_when_ringing", isVibrateWhenRinging ? 1 :0);
Using the following permission:
<uses-permission android:name="andr...
Relieve asked 15/10, 2015 at 1:21
1
Solved
I am using Android Studio 2.2 preview, and I have mistakenly choose Layout preview settings to remove from sidebar which appears in the left side. Now how do i get back? Its missing from sidebar. O...
Zamindar asked 23/7, 2016 at 8:41
2
In Android Lollipop, when you long press a Notification, it gives you access to settings for that Notification's app, such as priority, or simply blocking it. Is there an intent that I can use to a...
Parbuckle asked 1/3, 2015 at 6:18
0
I know that settings can be changed programmatically this way:
Settings.Secure.putInt(getContentResolver(),Settings.Secure.ADB_ENABLED, 1);
But there are some settings in Developer Options which...
Algesia asked 14/3, 2016 at 7:49
1
Solved
I'm working on new permission model (Android 6.0 Marshmallow) and I wonder is there a way to open the application's permission window programmatically?
not only application details
I m...
Salvage asked 17/2, 2016 at 12:29
3
Solved
Why i ask this:(also the reason for trying it in an app)
It happens when we use Google Maps in Lollipop. Even if the Location is disabled, it is turned on, in high accuracy mode after user's inpu...
Beast asked 27/2, 2015 at 7:11
1
Solved
I'm using a PreferenceFragmentCompat, but I don't think it is styled correctly.
Preferences' title seems way to big, PreferenceCategory text is unreadable, the whole think seems off.
This is wh...
Antrum asked 11/12, 2015 at 9:25
4
Solved
I'm using Android Download Manager to download list of files. Lately I came across a crash report saying
Unknown java.lang.IllegalArgumentException: Unknown URL content://downloads/my_downloads
...
Wade asked 4/2, 2014 at 11:42
3
Solved
I have set up correctly the pref_general, values for it, and the code to run the intent:
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The...
Entrechat asked 20/4, 2015 at 0:16
1
Solved
In GPS based applications, it is important that the user enable his GPS. If not then usually we would show a dialog stating that the user "should enable his GPS from the settings to be able to use ...
Premiere asked 20/4, 2015 at 9:39
2
Solved
User can define at Data Usage screen a limite and/or a warning limit for mobile data usage. So how can I get this information by code?
Screen of Data Usage configuration of native OS.
I wanna t...
Juster asked 23/6, 2014 at 12:31
3
Solved
I am new to creating PreferenceActivity. My question is how to enable and disable option in preference screen by changing other preference?
My prefs.xml:
<ListPreference
android:entries="@...
Jiva asked 24/12, 2013 at 13:8
2
I'm having trouble trying to set screen brightness. To do so I use the following code:
Settings.System.putInt(cResolver, Settings.System.SCREEN_BRIGHTNESS, brightness);
where brightness is a va...
Bagpipe asked 21/11, 2013 at 13:49
1
Solved
The majority of the Activity Actions (used to launch various Settings activities) in the Settings class come with a warning :
In some cases, a matching Activity may not exist, so ensure you safe...
Diazole asked 16/11, 2013 at 11:51
2
Solved
I want to open the Settings-> Sound & Display-> Phone Ringtones screen from my application. How can I do that?
Messiah asked 8/3, 2009 at 7:30
© 2022 - 2025 — McMap. All rights reserved.