I wanna change APN settings in a phone. Looked the api and there is a content provider named ACTION_APN_SETTINGS developer.android.com/reference/android/provider/Settings.html#ACTION_APN_SETTINGS but I'm having a hard time figuring out how to use it. Is there any example or something that does not involve the "contacts" content provider?
How can I get and connect to the internet Database of the device so that I can:Obtain the phone number and other carrier information associated with the device? Obtain email settings of the device?Is it possible to change the email settings via an app on the device?
I am looking for an app to do the following things. Change ringer setting when getting a call from a certain number. i.e. Turn the ringer on when I call it from my google voice number in case I loose it.Also, to run a script when connecting to a specific wifi network.I believe Locale can do at least the first one, but I was wondering if there were any cheaper apps to do this as I have no interest in the gps features of locale.
How do I use adb to perform some automated tasks on my android phone? I need to find commands that I can issue from the command line (ideally, using a .bat file) that will be capable of more than simply opening an application or sending an input keyevent (button press).
For instance, I want to toggle Airplane Mode on or off from the command line. Currently, the best I can do is launch the Wireless & network settings menu and then use input keyevents to click Airplane mode:
There are quite a few drawbacks to this method, primarily that the screen has to be on and unlocked. Also, the tasks I want to do are much broader than this simple example. Other things I'd like to do if possible:
1.Play an mp3 and set it on repeat. Current solution:
2.Play a video. (current solution: open MediaGallery, send keyevents, similar to above)
3.Change the volume (current solution: send volume-up button keyevents)
4.Change the display timeout (current solution: open sound & display settings, send keyevents)
As before, these all require the screen to be on and unlocked. The other major drawback to using keyevents is if the UI of the application is changed, the keyevents will no longer perform the correct function. If there is no easier way to do these sort of things, is there at least a way to turn the screen on (using adb) when it is off? Or to have keyevents still work when the screen is off?
I'm not very familiar with java. That said, I've seen code like the following (source: http://yenliangl.blogspot.com/2009/12/toggle-airplane-mode.html) to change a setting on the phone:
Settings.System.putInt(Settings.System.AIRPLANE_MODE_ON, 1 /* 1 or 0 */);
How do I translate something like the above into an adb shell command? Is this possible, or the wrong way to think about it?
I want to know if there is a way to change the phone number in Settings> About Phone > Status. It's strange - I've only had the phone a few days, got one at the same time as my wife. For some reason the Phone number according to my device is my wife's number although it definitely has my SIM card in the slot and is functioning with the right number. Whereas my wife's device reads unknown in this field. How can I change it to my number?
I couldn't find any threads on this topic but im sure its been asked so sorry in advance. Is there anyway to change my settings on my HERO to work on 3G for AT T network? or is it a hardware issue that im stuck with? then again i hear EDGE is about the same in terms of speed?
My week old phone seems to randomly select contacts and deletes them from my phone. I have to then log onto the website and go into the synchronisation page and rummage around in the contacts trash to restore them and then re-sync..
I have the Google Sync selected within the Data Synchornisation settings but I have auto synchronisation turned off.
Do I need to change my sync settings or is there a problem?
I just recently replaced my Samsung epic =( with a new droid2 =). Both have Swype and I love it. But on the epic the Swype keyboard had a darker color palette that I liked much better. I couldn't find anyway to change this on my droids Sywpe settings, is it even possible? Change the look of the Swype keyboard?
Does anyone know if there is an app that will change your settings to allow for 5 rows of icons on your homescreen other than a home replacement app. I'm running LauncherPro, but my phone (Droid X) has been a lot more glitchy since I installed it.
Is there a way to change the sync settings of a Gmail account programmatically with an Android app? For instance, I'd like to enable/disable syncing of a Gmail account from my app, without the user having to do anything.
I took a look at AccountManager, but that doesn't seem to be the right place to look.
Does anyone know if there is an app which can enable you to change the sound settings on an Android G1? I finally got a headphone adapter yesterday and the sound quality of music was not very good. It might improve things if there were an equaliser or similar available. Does the API even allow that level of control?
I was able to bring up the UI in android that allows the user to edit the APN settings. But I need to know how can I access these APN settings programmetically and set them. Any Ideas ?. Is this possible?
Ok i have an application with 2 different languages (english and german), how to change them from my application? When i click the Language button im using intent to com.android.settings.LocalePicker and from there i select the language. So instead of that i want to select English and German options from dialog box. I know how to create the dialog box, but don't know how to change the locale.
I've done this before...not sure what i'm doing wrong now I know it's the simplest thing in the world but i just want to make the text of my settings page black and the background white. Any ideas of what i'm doing wrong? my code....
I'm looking for a way to access the settings for the browser and mms apps programmatically. I know that there are APIs for browser content providers to add bookmarks and add search strings to the db. But is there a way to access any of the options such as text size, default zoom, etc. I've looked at the source but can't seem to find a way, as the preferences file is private and there being no content providers for these settings.
I am working on a application from which i need to ADD,Delete ,Change Email and Wifi Settings. I even need to add new Email Accounts . Can you please give me some pointers where i can start this . In Android, Are there APIs i can directly call for this or should it use content provider to do the same.?
I know it's possible to have multiple languages in a single application through the res/string and depending on Locale.Here is a case http://stackoverflow. com/questions /2078289/android-controling-the-user-language Now how can I change the language in the phone ?Like I'd do by Menu > Settings > Language & Keyboard > Select locale > languages Is there some real code to access to these settings ? Or should I create intent for a shortcut to the language settings.Please post some code Edit : With Locale class developer.android. com/intl/fr/reference/java/util/Locale.htmlThe constructor is at least Locale(String language)The input is language.How can you retrieve the current language used on device ?
I've had my Droid X for a couple of weeks now and am still acquainting myself with things.
I downloaded Instant Upload (a nice, simple FTP app) that allows me to upload individual files from my "Files" browser directly to a web server... but I'm curious to know if I can add this as an option in my "Share via..." menu?
The "Share" menu has a bunch of options I will likely never use, but I do use some of them, and additionally I would like to add certain apps such as Instant Upload to the mix. Is it possible to manually modify this list?