Android :: Make Android LocationManager Use Cell Network And Not Wifi Network?

Oct 19, 2010

I have an android application using LocationManager get the cell network location and not the Wifi location? If I have turned off the Wifi antenna and do the following:LocationManager lm = (LocationManager) paramContext.getSystemService(Context.LOCATION_SERVICE);I am always returned the Wifi location and not the cell network location. I want it to return the cell location since I have moved fromthe Wifi location. I tried using a LocationListener but that doesn't seem to help.

Android ::  make Android LocationManager use Cell network and not Wifi network?


Android :: App Works On WiFi In Debug Mode Or On Emulator Not On Cell Network

Jul 9, 2010

I have an android application that parses some HTML, downloads an image, and displays it. I'm using an AsyncTask to do the HTML parsing and image downloading, but that shouldn't be relevant. I never have a problem when I'm on WiFi on my phone, when I'm using the Eclipse debugger on my phone, or when I'm using the emulator. When I have my phone on the cell network (even with pretty good reception), the image sometimes fails to display. I'm having a hard time figuring out what is wrong, since the problem cannot be reproduced in the debugger. Does anyone have any idea what could be wrong?

Update: I have narrowed it down to the image downloading function. This way my original code:.......................

View 1 Replies View Related

Android :: Determine Current Connection State Is WIFI / Cell Network?

May 31, 2010

I am trying to determine if my current connection state is WIFI or Cell network (3g/2g... etc)
I am using SDK 1.5.

Tried couple of technique not really working.

Any working suggestions?

View 2 Replies View Related

General :: Cell Network Type While WiFi Connected?

Feb 11, 2014

I would like to have the cell network type displayed while I am connected to WiFi in the status bar signal cluster. Currently, once you connect to WiFi, the LTE, H, E, etc, go away; I'd like them to stay.

I can move the WiFi icon over to make room for the type icon (LTE, H, E, etc) just by deleting "android:layout_marginRight="-6.0dip"" at the end of the "id/wifi_combo" line in res/layout/signal_cluster_view.xml in SystemUI.apk.

Where is the function that turns off that cell type icon when WiFi is connected in SystemUI.apk? I know the system can detect the type of network whilst WiFi is connected, it's just a matter for forcing that icon to stay displayed.

I am trying this on Cyanogenmod 11.

View 1 Replies View Related

HTC Aria :: Disable Application Syncing And Mobile Network From Hold Menu Can Connect To Home Wifi Network

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

Android :: New Cell Network

Jan 9, 2010

We need to deploy Androids to remote locations where there is no cell service.What seems to be the only option is to create our own localized cell network (yes, we know that is expensive.)The sole purpose would be to support Android applications.What would be the requirements from a phone perspective?Could I use off the shelf phones to connect?Can I just program the SIM cards to be on my network?

View 2 Replies View Related

Android :: How To High Low Network Over Cell?

Apr 16, 2009

So my app works well in the emulator in various run configurations and on the device when the device is connected to WiFi. But when I switch off the WiFi on the device, the code that goes out to the network takes forever and then times out (i.e. doesn't return any data). Other people have reported this as well. I also notice that no data is going out or coming in when I look at the little up and down arrows on the 3G icon in the status bar on the G1. I am assuming that the Java code I am using should work for both types of connections, right? I mean, do I need to account for the fact that cell data network is very slow with high latencies i.e. pre-cache my data etc?

View 3 Replies View Related

Android :: Cell RSSI - Network Signal Strength - On 1.5

Feb 16, 2010

Is there any way to retrieve the current cellular Signal Strength (RSSI) on Android 1.5?

I know there's a way to listen for signal strength updates through the TelephonyManager, but this seems to only give a "state," not a numeric value.

Is using the RSSI field on a neighboring cell fairly accurate? I'm guessing not, but I'm running out of ideas.

View 3 Replies View Related

Android :: Android To Open Network Connection On Specified Network Interface - Network Type

Mar 6, 2009

I have been looking at the ConnectivityManager class documented at http://developer.android.com/reference/android/net/ConnectivityManage... .

I would like to know if an Android application can open a network connection (socket) on a specified network interface [on a device supporting multiple network interface types WiFi, Cellular, WiMax etc] ? I am looking for the capability for an application to open a socket on a given type of network for example over WiFi network or over 3G Cellular Data network.

If this is possible in Android, how would I code this requirement within the API Framework ? The ConnectivityManager enables an application to learn about available network connections and currently categorises them as either TYPE_WIFI or TYPE_MOBILE.

There is a member function in the ConnectivityManager class called requestRouteToHost(int,int) [url] which "Ensure that a network route exists to deliver traffic to the specified host via the specified network interface. An attempt to add a route that already exists is ignored, but treated as successful." Sounds like this would install an IP routing table entry to reach a given host via a specified network interface type (WiFi or Mobile). After calling this would it be sufficient for an application to open a socket and connect to the desired destination address ?

Or perhaps the application needs to bind() a socket to a local address of a network interface of the desired type (WiFi or Mobile) Or by setting a socket-level socket option of SO_DONTROUTE ?

View 2 Replies View Related

Samsung Captivate :: Create Sort Of Wifi Lan Network (make Phone Work As Local Area Router Without Internet Access)?

Sep 13, 2010

Is it possible to create a sort of wifi lan network (i.e., make the captivate work as a local area network router without internet access)? this could potentially be useful: quick filesharing, improvised LAN for games, etc...

View 1 Replies View Related

Samsung EPIC 4G :: Can't Play Aac - Aac+ On Cell Network / Fix It?

Sep 1, 2010

I see users prefer this forum, so I'll ask here.

I can't stream aac or aac+ when on the cell network, only when on wifi. This is not a bandwidth issue. On Cherry player, for example, it almost immediately goes to a stopped state, before making any real attempt to connect or buffer--long before any timeout that is.

Anyone else experience this?

View 2 Replies View Related

General :: Battery Drain By Mobile Network Signal / Cell Radio?

Jun 15, 2012

I've ported a Hero ROM to a HTC Magic.Here's my problem:

Problem: There's a great battery drain when you're connected to the network (no data but just mobile network for calls/SMS)

Ported ROM: Sandwich Deluxe 4.0 .

Original ROM: Hero ROM

Kernel: carz-2.6.34.4 (fast and stable)

The mobile network drains battery.I'm not in a low signal-area. Everybody who uses the ROM has a drain.I'm using a 2.x.x instead of a 3.0 kernel for an ICS ROM, can it be that this mismatch creates the drain?The phone displays a singal strength of 0dBm 97 asu. (Not normal?)

What doesn't cause the problem? In airplane mode there is no drain at all. So it is unlikely that some apps causes the drain.Wifi, GPS, sync, ... are all disabled.

What do you expect from xdamembers?

- Confirmation if the kernel is the issue of the drain. If not, I would like to know which files (in ROM) are responsible for network signal.

View 3 Replies View Related

Android :: Possible To Force Network Traffic Through Wi-Fi Or TMobile Network?

Mar 2, 2009

I'm wondering if, with the G1, it's possible to force the network traffic to pass through the Wifi or through the Cell GSM network. I need to force an application to connect through the tower network to get some login information. Is this possible? Anyone have any ideas as to how this would be possible? I'm trying to accomplish this inside an app with the Android SDK (Sorry I wasn't more clear about that originally)

View 3 Replies View Related

Android :: Get Network Info On Cdma Network

Nov 18, 2009

do you know how to get the Home country code, current country code, the Mobile directory number on a cdma network. I see TelephonyManager.getNetworkCountryIso() can get the current country code, but it is not reliable on cdma network.

View 2 Replies View Related

Android :: Way To Make HTTP Connection Using GSM Network?

Sep 29, 2010

I need to make HTTP request on Android using GSM connection, not Wifi. My current solution is to disconnect from all wi-fi connections and perform a request. Is there any better solution? I could not find any relevant methods in the API (I looked in package org.apache.http, but it seems it is completely unaware of what type of connection should be used).

View 1 Replies View Related

Android :: How To Make Applications To Use Only Network Access Point?

Feb 3, 2010

Is there a way to force all my requests to be made through my APN and not through wifi, without having to disable WiFi? I want to know if it is possible for my application to use exclusively the network access point. I'm already able to set the default network APN and to use it but for this I have to disable the Wifi first.

View 1 Replies View Related

Android :: How To Make Network Reconnection In App Of Client / Server?

Nov 15, 2010

Such like massager app, client/server framework, using tcp long connection using heart beating packet. Cause TCP connection, so when local network is disable or changed, connection would be disconnected. But to the client, it may not be known right now till the next interaction with the SERVER. Is there a general solution to reconnect automatically when network is available again? For example, a broadcast receiver would be triggered when network connection changed, and reconnect when available? Further more, how to check the network capacity, auto-connect the wanted one cause good bandwidth?

View 4 Replies View Related

Android :: Use Data Network While Connected To WiFi

Oct 28, 2009

Is it possible to use the cellular 3G data network while connected to WiFi? I want to create connection through the 3G network while WiFi is also connected.

View 2 Replies View Related

Android :: How Does Location Accuracy Use Wifi Network?

Jan 19, 2010

how does "location accuracy" use a wifi network?

View 7 Replies View Related

Android :: App To Periodically Check If Wifi Network Up?

Jun 16, 2010

We have a very patchy wi-fi network here. The wi-fi router's pretty old and I tend to need to switch it off and on every couple of days. Is there an app I can use that will - perhaps in conjunction with Locale so it only runs when I'm in the office - periodically check if our wi-fi connection is up and running?

View 1 Replies View Related

Android :: Forcibly Using 3G Or CDMA Network Though Wifi Available

Jan 14, 2010

My question is, as you can see the title, can i use 3g network even though wi-fi is available? i heard wi-fi priority is higher than 3g or cdma. can i change that priority in specific application? this is one of requirement of the project. if anybody has an answer,

View 14 Replies View Related

Android :: App That Gives Me Details Of My Current Wifi Network?

Jan 27, 2010

I don't care about about the scanner apps. I would just like an app that gives me some info about the wifi network that I am currently connected to. Is there such an app?

View 3 Replies View Related

General :: Two Android Devices On Same WiFi Network?

Nov 3, 2013

I have two android devices at home, a HTC One S and a Nexus 7(2012). The problem is that when I am using one or another occasionally the wi-fi will simply stop working. I'm still getting full signal in the notification bar, but either Chrome or whatever app that is using the wi-fi will stop retrieving data and eventually time-out or stay on buffering.

I have tried some things including changing the channel my wi-fi is set to from Auto to 6 and Mixed B/N/G mode to N only, but nothing seems to fix this problem except for one thing; turning the wi-fi off on one of these devices. The connections seem perfectly stable when I do this.

I also have a laptop in the house, my girlfriend comes over with her iphone, and I have an ipad from work that I occasionally bring home (I'm a teacher) and none of these devices ever have any issues, it's only the two android devices.

It's almost as it they are sharing the same wi-fi train track and only one can ride it at a time.

View 6 Replies View Related

HTC EVO 4G : Data Network Unavailable - None Of My Applications Get Internet Aceess And Mobile Network Status Says Turning On

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

HTC Droid Eris :: Mobile Network ON - Can't See That Have Any Network Traffic Or Any Apps Running In Background That Are Syncing Data At All

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

Android :: WiFi Searching But Not Picking Up Network Anymore

Sep 22, 2010

the first day I had the phone, it was picking up wi-fi networks. I got it to connect to my home network, then it disconnected. Everyone I go into settings it is "Searching" and never picks up on my network anymore.I have googled to death. Can anyone suggest what is wrong or how to set this up.

View 4 Replies View Related

Android :: Parallel WiFi / Mobile Network Connections

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

Android :: WiFi Network - Password Invalid After Disconnected

Apr 20, 2010

I have a WiFi network at work and it requires a New password generated from a secure token each time when I try to re-connect. Since Android WiFi setting remembers the password, if it try to re-connect using the saved password (it becomes invalid after disconnected), my secure token become invalid. If I remember to remove the connection each time after I disconnect, I can enter new password when the connection is discovered as a new connection again. The problem is what if I forget. In addition it is inconvenient. Do you know any Android application supports remove a chosen WiFi connection password each time the connection is lost?

View 1 Replies View Related

Android :: How To Be Notified On Wifi Network Status Change?

Jun 25, 2010

I am writing an app that connects to a telnet server via wifi. I have a service that manages the socket connection. It all works fine, but when the phone sleeps it disconnects the wifi radio, which causes the socket connection to break (and throws a SocketException). I feel like I should be able to set up a a broadcast receiver whose onResume() method is called when the wifi network connection is lost, and that would allow me to gracefully shut down the socket, and re-open it if the network is immediately re-connected. But I can't find anything like that in the doc or via searching.

View 2 Replies View Related

Android :: Obtain MAC Address Of WiFi Network Interface?

Apr 8, 2010

It seems the java.net.NetworkInterface implementation of android does not have a byte[] getHardwareAddress() method http://developer.android.com/reference/java/net/NetworkInterface.html

I've found several forums of people trying to do this with no definitive answer, I need to get a somewhat cross-device UUID, so I can't rely on phone numbers or in ANDROID_ID (which can be overwritten and which I think depends on the user having a google account http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID

In linux you can use ifconfig or read from /proc/net/arp and you can easily get the Hardware address.

Is there a file in android that I can read?

There has to be a way to get this address since it's shown in the "Settings > About Phone > Status" of the phone.

View 3 Replies View Related







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