android-settings Questions
4
Solved
I have an android application in QT.
I would like to call android settings from a button.
I used this code in Java :
public void usb(View v){
Intent intent = new Intent();
intent.setClassNam...
Gangrel asked 29/7, 2014 at 20:42
3
I guess accidentally pressing a key or a combination changed a setting in Android Studio after which android studio is acting weird and won't let me select code properly.
Look at following image.
...
Kirkwall asked 19/5, 2018 at 18:25
0
I'm using Settings.ACTION_APPLICATION_DETAILS_SETTINGS in order to request when the user does not grant permission in purpose.
Intent intent = new Intent();
intent.setAction(Settings.ACTION_APPLICA...
Hanks asked 23/8, 2023 at 6:14
3
Solved
I want to open the Settings > About > System Update directly from my application. How can I do that?
For Setting > About, I can do this
startActivityForResult(new Intent(android.provider.Setting...
Mohun asked 16/12, 2013 at 6:36
3
Solved
Trying to bring up an unaswered question I found here - How to highlight android setting app menu item?
As seen in this video https://www.youtube.com/watch?v=eHXBc5Mmsqs
The "Power Shade"...
Palmar asked 19/7, 2020 at 10:22
2
Solved
I know that I can change the Settings with:
Settings.System.putInt( getContentResolver() ,
Settings.System.SCREEN_OFF_TIMEOUT , DELAY );
but I honestly can't find a solution on how to read the...
Booklet asked 16/3, 2014 at 12:8
11
Solved
How can I open settings programmatically?
Anthropomorphize asked 22/10, 2013 at 12:6
8
Solved
I am having an inconsistent user experience due to the way android navigates back from Android Settings.
In my application the user needs to give my app access to ACTION_USAGE_ACCESS_SETTINGS, whi...
Blasted asked 23/11, 2017 at 0:9
6
Solved
I want to launch mobile network settings screen, so that user can enable/disable 3g or data connection. Can anybody tell me which intent I need to use for starting activity.
I used
Intent in = ne...
Deepfreeze asked 14/5, 2011 at 7:34
3
Solved
Is there any way to, in my app, to redirect a user to a specific settings 'page'? My app works as a lock screen app, so I want to be able to redirect the user directly to the "Lock Screen" section ...
Otoscope asked 11/8, 2016 at 7:1
1
Solved
Android 9 introduced an option to restrict an app's battery usage (sometimes phrased as limiting app background activity). This option can be set in the app settings:
The effect of this is describ...
Poulin asked 13/2, 2021 at 2:27
0
Starting from Android 11, using Settings.ACTION_MANAGE_OVERLAY_PERMISSION will ignore the package name, and instead will show a list of all apps that can have this permission. So you have to naviga...
Stiver asked 9/12, 2020 at 11:18
0
I am trying to enable Blue Light Filter programmatically in Android. Is there any API or function in android that can help me enable / disable / schedule Blue Light Filter option?
For clarification...
Jasminjasmina asked 8/9, 2020 at 15:14
2
Solved
We are currently developing an app where we'd like to change some system settings, with user permission of course. The android documentation says that to do this, you have to add the following perm...
Osmious asked 31/7, 2020 at 12:46
3
Solved
In my app, I don't want to allow it to resize as its creating design issues.
I have tried with android:resizeableActivity="false" in the application tag and the launcher activity tag but it didn't...
Classmate asked 9/5, 2018 at 11:35
3
I saw one of my best question Is there a unique Android device ID?
Edited:
I need a solution for Android 10 too.
I used some following code to get Unique Id.
public static String getDeviceId(Ac...
Poff asked 27/10, 2016 at 11:25
3
Background: Android N comes with a feature to change system Display Size from settings, in addition to the previously present feature of changing Font Size.
Change Display Size:
Image Source: ...
Norikonorina asked 23/6, 2016 at 16:1
2
This is my code:
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<PreferenceCategory android:title="title" >
<Preference
android:layout="@layout/cu...
Folkestone asked 20/7, 2014 at 22:5
0
Many android phones doesn't detect usb through OTG by default ( onePlus, oppo) it has to be enabled from settings.
Is there anyway we can enable it programmatically or the least we can directly tak...
Subscapular asked 27/7, 2019 at 20:47
1
Solved
As per Android Q new features, there is a inline settings panel showing key connectivity settings that lets the user modify different connectivity settings such as airplane mode, wifi, volume, NFC ...
Bailey asked 25/7, 2019 at 13:53
1
This question is quite similar to this SO question.
What I am currently using is the below code to take the user to setting page.
Intent dummyIntent = new Intent(android.provider.Settings.ACTION_...
Subternatural asked 11/10, 2015 at 14:54
1
Solved
I'm doing the settings activity for my app via code since the xml editor wont find any preferences but PreferenceScreen. Via code everything is working but I can not find the RingtonePreferences fr...
Dao asked 12/1, 2019 at 11:48
1
I am using below intent to open the app optimization settings page in Android.
Intent i = new Intent(android.provider.Settings.ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS);
It opens the page but...
Slightly asked 20/10, 2018 at 6:43
3
Solved
In an Android app, I have a button that I want to have the functionality of opening the App Notification settings (in Android settings).
I can open the Android settings with this
startAct...
Baluchi asked 30/6, 2016 at 13:27
2
I have an application, which required device mac address. I'm getting mac address in Marshmallow and below easily but problem with android nougat and O. So how to find mac.
Molina asked 11/4, 2017 at 6:32
1 Next >
© 2022 - 2024 — McMap. All rights reserved.