Android :: How To Keep Mobile Network Alive Even If Screen Is Off
Dec 10, 2009
I want my service keeps network connection alive even if user presses the power button to shutdown the screen. As I have tested, socket will return exceptions and through CONNECTIVITY_ACTION intent, i know EXTRA_NO_CONNECTIVITY is true. So can current Android keep connection not closed when screen is off?
View 3 Replies
Oct 29, 2010
I have been trying to find a way of quickly switching off/on the Mobile Network setting from the home screen. When searching Google there's loads of pages stating that it is an HTC Widget that can be added. I have checked all the widgets on the Desire HD and cannot seem to find it anywhere. I am using an unbranded handset.
The Desire HD manual even states "You can also add widgets that allow you to quickly switch on or off certain settings of your phone, such as Wi-Fi, Mobile Network...".
Does anyone else with an HD handset have this widget ?
View 1 Replies
View Related
Oct 22, 2010
is there any way to keep my connection alive when the screen goes off? my xmpp connection is disconnected due to ACTION_SCREEN_OFF event,
View 3 Replies
View Related
Jan 8, 2014
When i turn on mobile network, my phone start locking screen many time, until I turn off the mobile connection.
View 9 Replies
View Related
Jul 5, 2010
I seem to be seeing an issue with the data network access on the EVO. When it happens none of my applications get internet aceess and my mobile network status says "turning on". The only way I've found to fix it is to pull the battery. Any one else seeing this? If so is there a better fix than pulling the battery?
View 5 Replies
View Related
May 29, 2010
My eris has always has pretty alright battery life, what I would expect out of a smartphone, if unplugged at 9AM it usually was running on its last leg around midnight. I've had it for over 5 months now, I've always had it activated on alltel, I installed the 2.1v3 leak before the official OTA was out and just lately it seems like there something very wrong with my battery life...
If I unplug my phone at 9AM within the past week and occasionaly check and respond to a text message, my battery had been down to almost 30% by NOON... what?..
I have noticed that if I disable Mobile Network (3g/1x data), the thing lasts all day and some... If I turn mobile network ON, I can't see that I have any network traffic or any apps running in the background that are syncing data at all... I've had google account sync mess up on me before and have to reset my google account because it gets stuck in a syncing loop, but its not doing that, already checked. Very weird.
Anyone thing it could be something wrong in my ##PROGRAM#/##778# provisioning menu, maybe something got changed?.. Maybe it could be do to Alltel's AT&T merger that's happening right now, maybe some 3G tower's radios are turned off or something...
View 9 Replies
View Related
Oct 4, 2010
I love my aria, i got it 9/29/10, for free from best buy because my contract expired... but ive already used 20MB and i only bought a 200MB plan... i might go to 2 gigs, but for an alternate, since my billing cycle ends the 28th of every month... if i disable application syncing, and mobile network from the hold menu... can i connect to my home wifi network, and go on the internet from there without that using any of my data plan?
View 5 Replies
View Related
Sep 21, 2010
Android Version: 2.2 T-Mobile branded
Network: Base - a brand of e-plus, Germany
Taskiller Used: None
Issue: Switch on tethering OR mobile hotspot ->mobile network dies
I've installed Froyo on a T-Mobile branded Desire. After the update, turning on USB tethering leads to immediate loss of mobile network - it just turns itself off. Same goes for the mobile Wifi hotspot: turn on -> for 2 seconds, it's working -> mobile network drops off. Moving into airplane mode and back brings back the network, but tethering is a goner. With 2.1, USB tethering had worked. I'm on Base, a brand of e-plus. I've talked to their customer services, they say Base absolutely supports tethering.
View 3 Replies
View Related
Jun 10, 2010
I am developing an Android application and I would like to setup a tcp/ip type of connection between two Android phones using the 3G/Edge network. My test version will establish a connection if I have both phones on a lan using wifi but when I use T-Mobile's network a connection is not established. Could this issue be a port or ip address?
View 12 Replies
View Related
Sep 8, 2010
I'm building an application for my own use, and I like to get connection via mobile network but I don't know how to do that. What I want is the same behaviour that offers severals existent widgets to turn on/off the data connection.
View 2 Replies
View Related
Oct 13, 2009
I have changed my Home Page and I need to find a Mobile Network Widget to add to my screen as I now do not get option from HTC Widgets when using this Home Page
View 3 Replies
View Related
Dec 14, 2009
I am writing a UDP client/server application. The android phone (client) can send and receive UDP packets if connected to wi-fi. When using mobile network (2G), however, it can send packets to the server, but cannot receive packets. The server does receive and send back packets in all cases. The client side code is as follows: byte[] buf = new byte[4096];DatagramPacket packet = new DatagramPacket(buf, buf.length);while (true) {packet.setData(buf); socket.receive(packet);
View 2 Replies
View Related
May 14, 2010
In my application it is necessary to have internet connection. Therefore i check while starting if a Internet connection is available. If not I ask the user if he would establish an Internet Connection, and what type (wifi oder mobile). The wifi connection i can establish with the following code WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
wifiManager.setWifiEnabled(true); But how do i establish a mobile connection? Couldn't find a single code snippet at Google.
View 1 Replies
View Related
Jul 20, 2010
Trying out a vibrant. The T-Mo rep told me it used the hspa plus network. Now i read the the first hspa plus phone for T-Mo will the HTC vision/vibrant. Was i lied to? It is a bit of a moot point, if the vision/vanguard has a bigger screen and real keyboard i will be re boxing the vibrant and limping the G1 into September.
View 6 Replies
View Related
Jun 21, 2010
I'm looking for a widget that switches mobile network on and off. but i cant use the htc widget because m using launcherpro.
View 2 Replies
View Related
Sep 27, 2010
Are we able to establish both WiFi and 3G connections at the same time on Android 2.1? We are implementing a "make-before-break", so that WiFi can be switched to 3G before tearing the WiFi connection down. Please guide if you have come across this.
View 2 Replies
View Related
Jun 24, 2010
Does anyone know an app like Power Control that includes the ability to turn off/on mobile network as well?
Or, am I missing something and this cool app already has this feature.
View 2 Replies
View Related
Apr 15, 2009
Can any body help me unlocking the Android G1 mobile in India for the Vodafone Network ...
can body give the APN setting to enter into the phone ...
View 4 Replies
View Related
Nov 19, 2009
Is there any way for an application to force a network request to go over the mobile network if it's available in preference to WiFi? I'm looking at ConnectivityManager#setNetworkPreference, but there's no documentation, and looking at the source seems to suggest it's setting a global preference somewhere which isn't what's required here - I just need to force certain requests that need to go over the mobile network to ignore WiFi.
View 3 Replies
View Related
Oct 14, 2009
This happens only when my G1 phone is on T-Mobile network: I found that when I try to go to the browser, and type the address:
http://i0.sinaimg.cn/
The browser tries to load the page, but no progress is shown for more than 2 minutes. (I have full 3G signal; all other addresses work just fine). Eventually when I tried to access this URL in my Java code, I found a similar long delay when I try to open the HttpUrlConnection, and eventually I get this exception:
I/InetAddress( 1940): Unknown host i0.sinaimg.cn, throwing UnknownHostException W/System.err( 1940): java.net.UnknownHostException: Host is unresolved: i0.sinaimg.cn:80 W/System.err( 1940): at java.net.Socket.connect(Socket.java:1002)
Why would DNS take so long? Also, if my program tries to issue the same HTTP request again, the same 2+ minute blocking happened. Is this an Android bug or a T-Mobile infrastructure bug? It seems the Android API should try to time-out faster, especially on the second attempt.
View 11 Replies
View Related
Dec 27, 2009
I have a HTC Hero for the last few weeks and really happy with it. I friend recently got the Lg Eve and was looking at it. She wanted to turn off the Wireless Network to cut down on when it accesses the 3G network, but unlike the Hero, I wasn't able to find the Mobile Network setting under Wireless Controls.We took it back to the Rogers store to ask if he sorta blew it off saying she didn't need to turn it off and help her installed a counter to track her data usage.So is there a way to turn it off when it's not in use?
View 2 Replies
View Related
Jul 6, 2010
As part of my battery saving techniques i often use a widget which turns off the APN. This has direct effect on disabling 3g as it no longer flashes in the task bar, but can someone explain the difference between turning off the APN or turning off the whole 'mobile network' (holding the power button and selecting mobile network off)Also, do both ways save the same battery?
View 2 Replies
View Related
May 18, 2010
Just a quick question for anyone interested: Earlier today, I was running low on battery. I decided to toggle Internet access (mobile network) in order to save battery. However, I'm quite reliant on Google Voice. Throughout the day, I turned the mobile network back on briefly to receive messages. Is this constant on/off bad for the 1x/EV radio?
View 7 Replies
View Related
Jun 14, 2010
Every time I hit the mobile network widget it just blinks and won't shut off.
View 2 Replies
View Related
May 10, 2014
I just installed CM 10.2 - alpha 11 on my gt-s7710
And it is the best OS I've had on a phone to date. (my first CM) it's really nice. but unfortunately I have the problem with (like manny other) "Mobile network not available" so I'm forced to go back to the original ROM.
install alpha 10 or CM 11?
View 1 Replies
View Related
Feb 28, 2009
How to view the list of network connection mobile APNs or WiFi configured on the emulator.
View 6 Replies
View Related
Oct 28, 2010
Would this Android code be a correct way to test for http network availability during a phone call, or does it exclude networks that should be included or vice versa:
CODE:.....................
View 1 Replies
View Related
May 13, 2010
I' ve been using a lot my Desire these days and absolutely love it.I surf the Internet a lot and just wanted to make sure if I get it all right:
1. If I only use the Mobile Network Internet on my phone that means I am using the Internet my provider (Orange in this case) gives me per month. I have 1GB limited Interned each month and therefore surfing the web through the Mobile Network option means I am draining from that 1GB limit.
2. If I only use the Wi-Fi Internet (when Mobile Network is OFF) on the phone that means I connect to (in this case) my home Internet router and use it to access Internet and therefore do not drain any of the 1GB limit I have per month.
Is that right? I use Internet a lot and don't want to end up paying huge bills to Orange.And last question- what happens if both options (Mobile Network and Wi-Fi) are turned ON? What Internet will I be using- Orange's or the one from my home Internet router?
View 3 Replies
View Related
Jun 14, 2010
I seem to have lost the ability to connect to the mobile network so can't connect to Market or web without wifi switched on. I have error message as follws: "Connection failed due to incorrect APN setting" I haven't touched any of these settings so a bit in the dark as to what the problem could be.
View 11 Replies
View Related
Feb 13, 2010
Post network settings for specific carriers here.
View 23 Replies
View Related