Open Source Android Apps for Developers: Quick-settings
Quick Settings is a highly customizable all-in-one settings applications for Android, which is an open source Android project. It supports following controls:
* Brightness (including automatic brightness)
* Volume (with separate control for every audio channel)
* Mobile data & Mobile Data (APN) and a shortcut to “use 2G only” system setting
* Ringer (silent, vibration, ringer and ringer & vibration)
* WiFi & Wifi Hotspot
* one click GPS
* Airplane mode
* Screen Timeout
* Automatic data synchronization
* Automatic rotation
* Lock pattern
Besides this you a have quick access to the SD card memory status as well as to the status of your phone’s battery. Screen or LED (works on some phones only) based torch is also easy accessible.
Quick Settings can be launched either via notification bar or by long press the search button on your phone.
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://quick-settings.googlecode.com/svn/trunk/ quick-settings-read-only
All about Mobile Data
Who and why might need Mobile Data (APN)?
* Who: anyone with a GSM (not CDMA) phone which does not have a native switch for data connection activation and inactivation. Normally these are phones running a version prior Android 2.2 with no Sense UI (like my old HTC Magic).
* Why: because you don’t want to pay for data traffic all the time and you want to have a possibility to switch data connection off even if there is no such possibility in the phone itself.
When do I not need to use this control?
* If your phone has native data switch available via system properties or as a widget
* If you have a CDMA phone
* If you have problems with this control
How does Mobile Data (APN) work?
* APN is a configuration that describes how your phone connects to the Internet. If this configuration is valid then connection is established.
* When you switch APN configuration off, Quick Settings will go through all APN configurations available in your phone and add a modifier string to the APN and APN-type properties of those configurations. This makes configurations “invalid”, which, in turn, disables data connection.
* Modifier string can be selected in APN control preferences (Menu -> Customize -> APN control wrench button -> select “Disable MMS check box”)
How do I keep MMS enabled?
* MMS has an APN configuration of a special “mms” type. Quick Settings keeps by default APNs of this type unchanged that you can always receive MMS even when data connection is disabled.
* You can configure Quick Settings to disable MMS too by overriding default configuration for APN control (Menu -> Customize -> APN control wrench button -> select “Disable MMS check box”).
Why do I not have a data connection after I enabled APN?
* There is no G/3G/EDE etc. icon in status bar
o Reason: old versions of Android (prior 1.6) didn’t not always reestablish data connection after APN configuration was changed. I had this problem with my HTC Magic when it run Android 1.5
o Solution: You need to force your phone to reconnect. I did it by switching “use only 2G networks” check box in system settings. A shortcut to this check box is available form within Quick Settings (single tap on APN control icon or a text and you are there).
* There is a G/3G/EDE etc. icon in status bar but still no connection
o Reason: I’ve seen this behavior on my Nexus one running Android 2.1 and I tend to refer to Android bug #2207
o Solution: Restart your phone (sorry guys) or use a solution below.
This solution should help in both cases: Switch WiFi on by keeping APN enabled and connect to a WiFi hotspot. Once connected disconnect WiFi again. Now 3G icon should appear and connection should work. At least this worked for my on Nexus One every time.
For more help, please visit the Online Help:
Posted by Cute Android
Related Android Apps:
- Open Source Android Apps for Developers: Connectbot
- Open Source Android Apps for Developers: Milestone-overclock
- Open Source Android Apps for Developers: Zxing
- Open Source Android Apps for Developers: Andrico
- Open Source Android Apps for Developers: SyncMyPix
- Open Source Android Apps for Developers: Libgdx
- Open Source Android Apps for Developers: Android-mediamanager
- Open Source Android Apps for Developers: Kwaak3
- Open Source Android Apps for Developers: JRuby-for-android
- Open Source Android Apps for Developers: Android-analyzer