Android :: Is It Possible To Know When Network Went Down / Up?

Mar 16, 2010

I would like to be able to get events from the platform telling when the network coverage has been lost and, after, recovered. Is that possible?

Android :: Is it possible to know when network went down / up?


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

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

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 :: 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.

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

Samsung I7500 :: Network Error Message For Network Only

Mar 24, 2010

I get a "network error while trying to sign into <my gmail account>" when trying to use the market, even thoug I am successfully synching contacts and using the calendar which is linked to my gmail account.

View 2 Replies View Related

HTC Desire :: Speficy Network Settings Per Wi-Fi Network?

Nov 4, 2010

I alternate between two wifi networks on my HTC Desire running Android 2.2 ( I think!)On one network I need to specify the network IP/subnet/Gateway and so on, on the other network I can use DHCP.Is there any way to tell Android that whenever I connect to one wifi network it should use the static IP and on the other it should get an IP automatically?I am forever going into advanced wifi settings and changing them back and forth. I'd love for my phone to remember the settings used on each wifi profile.

View 3 Replies View Related

HTC Desire HD :: Mobile Network Widget - Switching Off/on Mobile Network Setting From Home Screen

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

Android :: Ad Hoc Network

Apr 1, 2010

Not sure if this has been posted or not but was just wondering if there was anyway in which you could broadcast an adhoc network from an android device, on my old nokia phone i used this program and it worked very well, and was just wondering if anyone knows of an android version

View 5 Replies View Related

Android :: Using G1 Without Network

Feb 5, 2009

Is it possible to use the G1 without a sim card if we only intend to use the wifi/usb interfaces?

View 2 Replies View Related

Android :: Wi-Fi Network Browser

May 10, 2010

I have searched and searched but have not found a simple File explorer that will browse through a WiFi Network so I can pull and place files FROM my Droid.I have found ones that I can get to my phone from my PC but I want to go the other way.I had a nice one for my Pocket PC phone but can not find one for the android.

View 6 Replies View Related

Android :: 3G Network Response Different From Wi-Fi

Jan 25, 2009

I've written a port scanner for Android. It works properly when using a connection over Wifi, but on the mobile (3G) connection, everything reports a false positive.Why is this? I don't know very much about the way the mobile data network is structured and I'd like to know more. Is my service provider meddling with the connections, or have I just done something wrong?

View 4 Replies View Related

Android :: App To Log In To Home Network

May 11, 2010

I have WiFi home network with the Remote HDD that any PC in my home can share info on. I use these HDD to store movies, music and photos so it can be reached from any laptop or PC at home. My question is if there is any apps or any other ways to be able to "map" these network drives on to the Droid Incredible?

View 11 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 :: Need Advertising Network App

Oct 7, 2010

I want to add promotion in my app to get earn money in this way. What is your experience with this? which advertising network would you recommend?

View 7 Replies View Related

Android : Possible To Map A Network Drive

Dec 14, 2009

I have been scouring these pages the last few days and have found every possible FTP and file transfer app, But none allow access to a https:// secured folder.

In my case, I'm attempting to connect to my schools academic program server to view and download files to and from my Droid.

Although I can view this server through the browser, it is a read only version.

I guess I'm looking for a Mapping Network Drive app that is not restricted to FTP

View 2 Replies View Related

Android :: How Can Get Signal Strenght Of GSM Network?

Aug 3, 2009

how can i get signal strenght of my GSM network?

View 4 Replies View Related

Android :: Using Wi-fi Manager To Connect A Network

Feb 1, 2010

I am using a Nexus One with 2.1 SDK. I am having problems with a module in my application connecting programmatically to a network/AP.Monitoring the network,I see probe requests transmitting from the device, but I do not see an Authentication/Association request to the access point that I specify in the BSSID. Ultimately, I will perform a scan to determine valid AP BSSIDs, but for testing, I simply want to connect to a test AP which is in close proximity to my Nexus One.I have set the appropriate permissions in my manifest xml and am not seeing any negative log statements from adb.Any pointers or suggestions with using WifiManager to perform this action.

View 4 Replies View Related

Android :: App To Connect To School Network?

Apr 20, 2010

I am wondering if there is an app or a possible future one, that can connect to a school's network. Why it is more complicated (if you don't know), is that you have to connect to the wifi, then enter your student ID and password into the browser, then you can access the internet. (similar to some airports)I am able to connect with the browser, but apps that require internet won't work. Is there anyway to make an app that will keep you authenticated so that apps can use the wifi?

View 2 Replies View Related

Android :: NFL Network - Suppose To Be For Verizon

Apr 19, 2010

I did a search but didn't find anything.Credit goes to XDA forum. This app will work on the N1. I'm using the latest on (unrooted) and it works great (video is a bit choppy) but beggars can't be choosers.Forgive me since I do not know how to input a link in here (so just copy and paste):Verizon NFL App Unlocked - xda-developers

View 6 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 :: Emulator DNS / Network Posted Fix?

Jan 24, 2010

I've read many postings about problems getting the Android emulator DNS to work properly in certain situations. I have a simple app that makes an HTTP connection to a server on the Internet. If I use an IP address using the latest version of the emulator it works fine. If I use the domain name it throws a java.net.UnknownHostException: Host is unresolved: exception. The identical code works fine on any actual device. Has anyone figured out how to fix this situation? I've spent days trying everything, from using proxy servers to setting up and running a DNS server on my development machine. This situation/experience is a shame, because the emulator seems like such an impressive and well thought out collection of tools for developing and testing apps. However, it is currently useless to me. Is there anyone who can help? A prior thread on the same issue-appears to be the same situation: http://groups.google.com/group/android-developers/browse_thread/threa...

View 3 Replies View Related

Android :: Switching Between Cellular Network And Wi-fi

Feb 1, 2010

Does android framework support automatic switch to Wi-Fi when detected, from cellular network ? Please post your views.

View 7 Replies View Related

Android :: Network Usage - Widget

Nov 1, 2010

Does anyone knows some app that acts like a "dumeter" in a widget? someting to get the instant transfer rate from 3g/wifi....The only app closer to this is netwok monitor, but no widget for it

View 5 Replies View Related

Android :: Network Usage By Application

Jun 22, 2010

I am running the new EVO on Sprint, not rooted, and I am looking for an application that can display active (and perhaps historical) network bandwidth usage based on the application(s) utilizing it.

So far the only one I have manged to come across is "NetMeter" from the market. While this shows active network activity, it does not single out applications.

Trying to figure out what's whoring out the bandwidth on my phone and how I can fine-tune the problematic applications. As I type this I am looking at ~10min of 3G usage totaling over 15MB so far, and from what I can tell I am not running anything that would require the downloading of said data chunk!

View 4 Replies View Related

Android :: Network Signal Strength In 1.6

Oct 28, 2010

How can we get network signal strength in android 1.6

View 1 Replies View Related

Android :: Valid Network Exists

Dec 23, 2009

I am struggling to find a way to determine if a valid network is available to an app. specifically, if there's a problem making a network connection, i would like to be determine if it's on the client (app) side, or a problem with the remote server. i happen to be attempting a URL connection (using http client) and the wide and varied possible exceptions don't seem like a reliable method. for example, when the network is down on the phone, i received "unknown host exception", which doesn't really indicate the root cause ... it's possible to get that exception with a valid network connection also. at other times i get other exceptions, such as socket exception. is there a way to ask the phone if it's network ready? the other option i thought was to ping a known good server to see if it responds ... with an IP address. kind of a heavy weight option and not foolproof.

View 2 Replies View Related







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