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

Change the time in android through code

Well I searched quit a lot on the new, and I found no good answer for that, unless your phone is rooted. I am pretty sure you can do this in bash codes, but I have no idea where even to read about that. I want to make an app with 2 buttons. 1st…
Yogi_Bear
  • 512
  • 2
  • 10
  • 24
0
votes
1 answer

How can you implement disable auto update in your app?

How can you implement disable auto update in your app? I have an app, and on the settings page there is a Boolean value with enables auto update or not. Is there a tutorial on the code of disabling auto update for your app? Additional: Is it…
Hong Wei Wang
  • 1,388
  • 3
  • 19
  • 29
0
votes
2 answers

Access to android OS settings

how can I get access to the Android OS settings from source code? I get access to some settings like check Internet connection private void checkIntenet() { connectivityManager = (ConnectivityManager)…
lazexe
  • 367
  • 4
  • 19
0
votes
2 answers

SettingsActivity/Fragment is showing options out of the layout bounderies

I have created an PreferenceActivity with a PreferenceFragment in it. But the content with all the settings is shown outside of it layout bounderies, what am I doing wrong? SettingsActivity: public class SettingsActivity extends PreferenceActivity…
Wesley Egbertsen
  • 720
  • 1
  • 8
  • 25
-1
votes
1 answer

How to install a certificate on Android TV?

I've installed certificates (especially the FiddlerRootCA) on several android devices already, since it has a security section in the menus. On Android TV on the other hand, I was not able to find anything in the settings, altough I went through…
Edna Krabappel
  • 362
  • 1
  • 2
  • 16
-1
votes
1 answer

How to change background color of a preferenceitem?

I've a preferenceactivity that load settings to my app from a xml resource addPreferencesFromResource(R.xml.secondary_settings); I would like to change the items background color individually and programatically, how can i do it?
Rafael Lima
  • 3,079
  • 3
  • 41
  • 105
-1
votes
1 answer

Open google nearby Settings in android through Code

how can I open google nearby Settings in android through code?
Ashish Choudhary
  • 444
  • 1
  • 4
  • 11
-1
votes
1 answer

How to change Display Style Settings programmatically on Android LineageOS 15.1

I would like to change these settings by code, or at least, check which configuration are setup. I've tried WallpaperManager with no luck.
Nakamoto
  • 1,293
  • 14
  • 17
-1
votes
1 answer

Enable developer options on UMX android phone model number U673C

Every set of instructions I pull up says I need to tap build number, but there is no build number on this menu. What do I hit instead?
Spilot
  • 1,495
  • 8
  • 29
  • 55
-1
votes
1 answer

Android Application Data lost when app settings changes

In my application I have saved user data in Application class. Location service is using in the app. When location permission is turned off manually from settings and go to the app , userdata saved in application class returns null. I couldn't…
user1767260
  • 1,543
  • 8
  • 26
  • 51
-1
votes
1 answer

How can I detect action which Settings/Apps Manager is opened or not in android programmatically?

I am developing security app in android. I want that user can't uninstall and force stop my app so that can't access Application Detail Screen. But so I have used several solutions from StackOverFlow. But I haven't found right solution yet. The…
-1
votes
1 answer

How do I store settings to server?

I've a fragment settings with a lot of fields regarding user profile, like height, weight, etc. Any best practice for saving that data to my server via API? When is the right moment to submit the request for update (PUT) after the user have changed…
Jumpa
  • 4,319
  • 11
  • 52
  • 100
-3
votes
1 answer

User Customizable Menu Items

I have not been able to find an answer for this anywhere. I have a menu that holds 24 items. I want the user to be able to choose which 24 items they want to display on a menu using Settings. I can't arrive at a strategy for this. Does anyone have…
F. Moss
  • 55
  • 1
  • 7
-3
votes
1 answer

How to redirect to Phone settings page from my android application

How to redirect to Phone settings page from my current android application ? I have already tried with this code. But it is not working. startActivityForResult(new Intent(android.provider.Settings.ACTION_DATA_ROAMING_SETTINGS), 0); Am I missing…
Aneez
  • 157
  • 1
  • 2
  • 14
-4
votes
2 answers

How to go Internet Settings in Android using code

I am using Webview to display some webpage , I wanted to know how to go Android Internet Setting when there is no Internet. I have provided a Button and when the user clicks on it , It should go to settings , Can it be done? if that is so Please…
Sudhir Belagali
  • 370
  • 1
  • 7
  • 22
1 2 3
18
19