Android :: Enable/Disable Auto Sync And Background Data

Apr 20, 2009

I want to develop an application that disable the Background Data (new feature in Android 1.5) and Auto Sync and then enable GPRS/EDGE connection and vice versa.

I figured out how to enable/disable GPRS/EDGE by changing the APN settings. (weird solution. However; Android developers couldn't think a user may want to disable GPRS/EDGE) But, I couldn't find a way to enable/disable Auto Sync and Background data.

I investigated the Android code and as I understood, the Sync operation is an intend. So, I wanted to reach with putExtra to the intend and trigger the enabling/disabling. But; I couldn't find the correct keyword.

Android :: Enable/Disable Auto Sync and Background Data


General :: Auto Restrict Background Data And Disable Auto-sync When Mobile Data Enabled

Aug 24, 2013

I'm trying to limit my mobile data usage with out jumping through hoops.

I'm looking for a widget, that with one click of a button, it can restrict background data, disable auto-sync and enable mobile data, and when pressed again, enable WiFi, disable background restriction and enable auto-sync.

This function, no matter how trivial, would save time and effort.

Is there anything like this out there? Would something like this require root?

Galaxy Nexus

View 5 Replies View Related

Android :: App / Widget To Disable Background Data? (Not Same As Auto Sync)

May 7, 2010

I have a Motorola Milestone running Android 2.1.Is there a widget which turns "background data" ("Settings -> account & sync -> background data") on/off? I know there are several widgets which turn auto sync on off (e.g. the power control widget) and disable data connections altogether (apndroid, quick settings, etc), but that's not what I need. I searched the market, google and this forum but couldn't find anything.The only workaround I found was to create a shortcut to "account & sync" using "any cut". Not a widget, but close enough.Is there a widget, or a better way to do this?

View 3 Replies View Related

HTC Desire :: Does Auto Sync And Background Data Needs Always On Mobile Data?

Aug 18, 2010

If "always on mobile data" is disabled, will this have any affect on programs that are set to auto sync with back ground data enabled(Face book, twitter etc)? I'm trying to work it out but lots of people say different things?

View 13 Replies View Related

HTC EVO 4G :: How To Difference Between Background Data / Auto Sync?

Jun 14, 2010

if i turn them both off will my email update every hour like i have it set? Or do i have to turn on one of them? I also noticed that in order to go to the market place i have to have background data on, why is this even though i can go onto the internet with both of the settings off?

View 5 Replies View Related

Samsung Captivate :: Background Data To Off And Leave On Auto Sync

Aug 6, 2010

If I set "background data" to off and leave on "auto-sync" and sync for my gmail account on will I still receive emails and text messages in real time?

View 1 Replies View Related

HTC Desire :: Friend Stream No Auto Sync - Background Data Enabled

Sep 11, 2010

I've set my Friendstream to update every hour, and this was working fine for weeks. Recently, although it's still refreshing the sync time icon at the bottom every hour, it's not actually updating the widget with the new information. It takes a manual sync for it to refresh. Auto-sync is on, background data is enabled.

View 4 Replies View Related

Android :: Enable / Disable Auto Brightness Mode From API?

Oct 18, 2010

I want to control the system settings "auto brightness", setting it ON or OFF.I'm able to control the brightness level but only if AUTO is OFF. From what I read until now there is a SCREEN_BRIGHTNESS_MODE in Settings.System but only for API level 8 or higher and also not recommended to mess wit it. But currently my phone has Android 2.1 (API 7) and there are widgets that can control this setting (enable/disable auto brightness and set the level). How is this done?

View 1 Replies View Related

Android :: API To Enable / Disable Mobile Data

May 20, 2010

I need to find a way to enable / disable mobile data (the thing you can manually enable / disable in Settings->Wireless->Mobile Network (android 2.1)But I can't find any API for that.For WIFI, there's a method setWifiEnabled(boolean) on the class WifiManager. But I can't find anything like that for the data network... no method for this on TelephonyManager or ConnectivityManager.Isn't it possible to programmatically enable / disable mobile data?

View 2 Replies View Related

Android :: Shortcut - Disable And Enable DATA 2g 3g

Jun 28, 2010

I want, and I have for a while been willing to, disable and enable DATA (2g, 3g, whatever) with a long press of the search button. And I mean only long-pressing it, NOT opening an app with it and disable it from the app (doesn't make any sense, otherwise one would press the HOME button and disable it from a widget there).

View 16 Replies View Related

Android :: How To Enable / Disable GPRS / EDGE Data Connection?

Apr 16, 2009

The service providers in my country are charging for the MBs I downloaded in my GPRS/EDGE connection. So, whenever I want to disable the GPRS, I just change my default APN to something wrong and then correct it when I want to enable it again. I couldn't find another way to enable/disable. I think,Android team assumed that only 3G users with a good data plan only would use this phone. Anyway, I just want to develop an application which can do that automatically for me. However; I couldn't find how to change the APN settings in the docs. but I couldn't find how to use it. Could you please help me? Any alternative ways and/or suggestions are welcome.

View 3 Replies View Related

Nexus :: Any Data Enable / Disable Widget For Froyo?

Jun 5, 2010

As Nexus One is the only model which has already "partly" updated to Froyo,Before Froyo, if I wanna enable/disable mobile data usage, I used a passive way, changing the APN server setting, to fool the system so it couldn't connect.In Froyo, there is a new option under Setings -> Wireless & Network Settings -> Mobile Networks called Data enabled/disabled, which is a much direct approach than changing the APN.But up to today, I've yet to see a widget which targets at this option. Currently I hv made a 3G shortcut to that setting page on to my home screen. Really hope there will be a toggle widget instead!So how do u guys enable/disable data usage at the moment without a handy widget on Froyo?

View 18 Replies View Related

Motorola Droid X :: Turn Auto Sync Off - Application Enable Push Email For Gmail Account

Jul 30, 2010

I have been reading up on the concept of push email, and how it's supposed to be a huge battery saver (since in theory, the phone would only receive a notification of an e-mail, and not the actual e-mail itself). I have also been reading up on how the "Gmail" app's version of Push email is not the same as other Push e-mail software, in that it requires the phone to "Sync" whenever an e-mail hits the Gmail server. As a result, whenever I would try to turn Auto Sync off (supposedly to save battery), I would no longer be able to get my e-mail notifications in real time.

With this in mind, I attempted to find another application that would enable me to use Push email for my Gmail account, without having to "Sync" with Gmail's server. After messing around for a bit, I found that I could manually input my Gmail account info (Incoming Server, Outgoing Server, Username, Pass, Etc.) into the stock "Email" app that comes with the X. Once this was done, I was able to enable "Data Push" in the "Email" app's Settings menu (as well turning off any Polling intervals). By doing this, I was able to receive new Gmail notifications through the "E-mail" app, even when Auto Sync had been turned off. As a bonus, I received them around 15 seconds faster than I did with the "Gmail" app's version of Push.....

View 2 Replies View Related

General :: Automatically Enable / Disable 3G Data Connection On Dual Sim Phone

Jan 20, 2014

Principally to save battery charge, i need to find an application or a method that automatically shut down data connection when i lock the screen and resume it when i unlock the screen.

I've tried many of the most popular software that do this, but, with dual sim phone, they are able to shut down data connection but not to startup.

View 9 Replies View Related

General :: App To Disable Background Apps When Data Connection Active?

Jun 1, 2012

is there any app that can disable the background apps, like fb, sync, widgets, that would use internet once i enable the data connection on my android? i don't have an unlimited data package, which is why im concerned about the data charges.

is there any such app that would disable background apps while allowing me to use the app i need to use via data connection?

View 1 Replies View Related

Samsung Moment :: Data Synchronization - Auto-Sync

Dec 2, 2009

Originally, when I got my Moment, I had it set up to Auto-Sync my Gmail, Contacts and Calendar. I noticed (especially when managing contacts on my phone) that when I made any changes to a contact, the auto-sync would begin, in turn, freezing up the whole contact app/module. It would freeze for about 30 seconds until the sync was complete.

This would also happen with the Gmail app. So I turned off auto-sync a couple weeks ago, and every time I go into Gmail, I just go to Menu, Refresh. But it's a pain when I get a call saying, "Hey, did you get my email?". So I'm thinking of using IMAP for Gmail now, but I'd rather find out if anyone else is having this issue, or if there's a workaround.

View 8 Replies View Related

Samsung I7500 :: Sync Google Apps Without Background Data

Dec 10, 2009

I'm wondering if anyone's experienced this. I'm using II5 firmware with Galaxo 1.1 None of my google apps seems to ever sync if I turn off background data. It'd be cool if there was a way to let it use background data only when the phone is unlocked, but whatever it's alright.So, fr gmail you can manually go in and chose to "Refresh", but for Calendar and Contacts there is no way to do this within the app.. Also, it never seems to sync even when you use it for a while.Has anyone found a way to sync calendar or contacts without turning on background data?

View 3 Replies View Related

HTC Droid Eris : What Does Google Background Data Sync Option Do

Feb 24, 2010

Is this something I should turn off to preserve battery or should I just leave it alone?

View 2 Replies View Related

Android :: Auto-centering And Auto-clipping TextView Background

Apr 4, 2010

Is there a way to tell Android to do the following when setting the background image for a TextView?

1. Scale the image so that it's just large enough to fill the the entire viewing area without any black borders, while still maintaining its aspect ratio. This might require clipping once the image is actually displayed, but that's OK (read on).

2. Then, center the image in the viewing area, both horizontally and vertically.

3. Finally, clip the image to the size of the viewing area, without any further rescaling.

I'm guessing that this kind of image processing is not automatically done via any of Android's facilities, and that I'll have to do it myself. If this is a correct assumption, could someone point me to some documentation or some examples which could explain how I can accomplish this? I'm guessing that I'll have to subclass my TextView and implement my own onDraw() method, but could someone confirm or deny that assumption?

View 3 Replies View Related

Android :: How To Enable Auto Update

Aug 31, 2010

How does the "Allow automatic updating" works? I notice that my apps have "A manual update is required." when I try to enable it. Is it anything I need to do in my codes to enable this to work? Or is it depending on the permissions required by the apps?

View 3 Replies View Related

Android :: Disable / Enable 3G Programmatically?

Jul 29, 2009

I'm trying to code an app for android that needs to enable and disable 3G (move between 2g and 3g), but can't find anything about it...is that possible? Can I get a snippet code or some documentation?

View 2 Replies View Related

Android :: How To Enable IME Word Auto / Suggest In An EditText?

Sep 25, 2010

I have a text field and when I use the IME (the default one for Nexus One) it doesn't display the auto-suggest line on top of the soft keyboard. Ironically there are posts here on how to prevent the auto-suggest, but in my case it's the revert, it doesn't show up and it's not clear why, Code...

View 1 Replies View Related

Android :: How To Enable / Disable Bluetooth Programmatically?

Sep 27, 2010

I want to enable/disable bluetooth through the program..I has the following code. BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if (!mBluetoothAdapter.isEnabled()) {Intent enableBtIntent = new Inten BluetoothAdapter.ACTION_REQUEST_ENABLE); startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT); But this sort of code is not working in SDK 1.5..How can i do the same in SDK 1.5.?

View 1 Replies View Related

Android :: How To Disable / Enable That Gps Locator Thing?

Mar 9, 2010

Does anyone know how to disable and enable the option the t mobile google g1 that tracks where you are and shows your location?

View 1 Replies View Related

Android :: Enable/Disable Networking In Emulator

Sep 22, 2009

According to the emulator docs, you should be able to enable/disable networking with the F8 key. I doesn't work for me and I'm trying to determine why.

I'm developing on OSX Leopard. I've also tried in a virtual Windows instance (Windows 2008 server running in Parallels). No luck in either case.

I've tried the obvious stuff like fn + F8, etc.

Should there be any sort of visual cue that networking has gone online or offline when F8 is pressed?

View 2 Replies View Related

Android :: Enable/disable GPS And Wifi Providers?

May 29, 2009

How do I enable/disable GPS and Wifi providers? I check to see if they are enabled by using this code:

locationManager.isProviderEnabled("gps") locationManager.isProviderEnabled("network")

If both are false, I'd like to turn enable the GPS provider and/or the Network provider so that the above checks would return true. Is this possible? If so, what permissions does it require?

View 5 Replies View Related

Android :: Disable / Enable Orientation Changes At Runtime?

Sep 21, 2010

Is there a way to enable / disable orientation changes at runtime?

i know you can force a screen orientation in your manifest using android:screenOrientation="portrait" or ="landscape"

but I would like a way to enable / disable it at runtime.

View 2 Replies View Related

Android :: Auto Enable Wlan Only When Available Access Point In Range?

Nov 21, 2010

I have just recently moved from Nokia E75 to HTC Desire, and there are lots of stuff on the E75 that I will never miss... But, there are a couple of things I am missing very much, tho. One thing was a very clever feature that saved a lot of battery... On my HTC Desire I have to leave wlan enabled at all time for the phone to utilize wireless at all, and I can see that it's consuming approx 20% of the battery power - even if no apps or widgets are accessing internet.

But on the Nokia E75 it's very different... The wlan is switched off by default, so whenever an application on the E75 needs a data connection (internet), it will quickly enable wlan and check to see if there are any networks nearby it can access, and then disable it again if it doesn't find any. (If no wlan access point is detected, it will go online using the mobile data connection automatically instead)

View 7 Replies View Related

Android :: How To Enable / Disable Access Point Network (APN)?

Jun 22, 2009

How to enable/disable Access Point Network (APN)?

View 2 Replies View Related

Android :: Enable / Disable USB / Wifi Tethering Programmatically

Aug 20, 2010

Is there a way to enable or disable tethering (USB or wifi) on an android phone programmatically? Perhaps an API in android SDK or NDK or any even non-UI command to do that.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved