reachability

Can I programmatically flip Info.plist values while my application is running?

I am interested in using the SBUsesNetwork and UIRequiresPersistentWiFi keys in my application; however, I would like to enable them only when using a certain set of view controllers. Is there a way to programmatically flip those key values while the application is running? ...

C# IsODBCServerAvailable

Hi there, I want to implement a "smartODBCLogin". I know how to get a list of all engineNames and drivers from all ODBC data sources out of the registry. Now I want to know, which of these sources are available (active). (To open a new odbcConnection wouldn't work/help, would take to much time.) Does anybody know how to implement this...

iPhone Reachability

I am trying to cover my bases with reachability so that my app doesn't get rejected by the App Store. I am familiar with the Reachability class that Apple provides in sample code. My question is, how best to implement this. I've seen that checking if the WWAN is accessible is not always best because it may be turned off for power cons...

iPhone - implementing reachability for multiple hosts?

I'm doing an app that will have to connect to several hosts. Originally I didn't include Apple's Reachability class, and just did it on my own synchronously, which I've since learned is a bad idea, and in practice I've seen the problems that Apple warns of. So now I'm going to do it asynchronously. The problem lies in having several ho...

iPhone: Reachability for wireless where actual internet is not needed

Anyone have an idea on how I could check for a wifi connection where I don't necessarily need to connect to the internet? I've implemented wifi multiplayer in a game I'm working on, so I want to make sure and let the user know if there's no connection when they are trying to use that mode. The Reachability sample code seems to only wor...

iPhone reachability checking

I've found several examples of code to do what I want (check for reachability), but none of it seems to be exact enough to be of use to me. I can't figure out why this doesn't want to play nice. I have the reachability.h/m in my project, I'm doing #import <SystemConfiguration/SystemConfiguration.h> And I have the framework added. I a...

Best way to test for total reachability

I have a set of nodes, each of which is connected to at least one other node. I would like to know if the connections are such that each node is reachable from every other. For example: 1--2 | 3--4 Versus: 1--2 3--4 I am convinced this kind of reachability testing can be projected in terms of an exact cover problem, however I c...

Reachability sample code

I am using Reachability sample code from Apple site. I have added Reachability.h and Reachability.m files to my project, also I have added SystemConfiguration.framework. Added #import "Reachability.h" to my view controller .m file and declared reachability variable in my view controller .h file. Everything compiles without errors until I...

How to use Reachability class to detect network status?

i am creating an application which requires internet must be avialable to use it.I want to use reachability class in my project and i want to detect if user has no internet connection whatever the technique is either wifi,Carrier or whatever the way is.I want a step by step guide for this.Thanks ...

Need some help with Reachability (2.0.3ddg)

When my app launches, I check for reachability because I need an immediate internet connection. My problem, though, is that it appears there's no immediate confirmation for the NetworkStatus, which means right after the Reachability is setup, I check whether there's a connection, and it returns that there isn't, regardless of whether I a...

iPhone cellular and WLAN and wifi availabilty test

I want to get the status (only once) of the cell connection and the network connection. I don't want the overhead of actually making the network request as my app is not going to use services. Basically I just want to know what the two icons in the uper left are saying. All possible states for cell/network are: cell/3g cell/edge cel...

iphone Reachability issues

My app requires an internet connection, so in the ApplicationDelegate, on applicationDidFinishLaunching I am running the following: [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(reachabilityChanged:) name: kReachabilityChangedNotification object: nil]; hostReach = [[Reachability reachabilityWithHostName: @...

iPhone SDK: Network connectivity and Reachability flags.

I am using the Reachability code and also doing a server login. What I am finding is that the reachability is responding with a negative, even though I have already logged into the server, and then reachability returns positive. 2010-03-04 18:39:36.088 FLinkerDebug[18472:207] reply from server: 3/4/2010 6:40:21 PM15bcc06c-2c20-43cb-ab8...

reachability always returns reachable...

Hello All, I'm having an interesting issue with reachability (or maybe my ability to figure out what to do) :) Using several pieces of code from different places and including apple's reachability example, I'm experiencing a funny behavior... when I turn off the WIFI, the code returns a non reachable server.. I get that!!! BUT wh...

Do Apple require Network detection for openURL in Safari from your app?

I am about to submit my first iPhone app to the app store and within the about page, I have a link to our website. Is it ok to allow Safari to open and fail to load if network is not present, or will I be required to use reachability code to detect this beforehand? I don't want the app to be rejected, so want to cover all bases. Thank...

Reachability app iPhone OS4 SDK issues

Apple's reachability application crashes at runtime after successful compile. Given the extent to which these routines are implemented, has anyone discovered the correction for this? Thanks ... ...

Does Apple's Reachability work with 3G connectivity?

I am developing an iPad application, and I am trying to figure out the best way to decide if a user can connect to the Internet. If the user has no connectivity, I will load cached data, otherwise I will load new data. I am trying to use Apple's reachability class for this, and I wanted to see if I am doing this correctly. In applicat...

Using Reachability for Internet *or* local WiFi?

I've searched SO for the answer to this question, and it's not really addressed, at least not to a point where I can make it work. I was originally only checking for Internet reachability, using: self.wwanReach = [Reachability reachabilityWithHostName:@"www.apple.com"]; [wwanReach startNotifer]; I now need to support a local WiFi con...

Iphone internet connection (Reachability)

Hi, I saw any post about Reachability but people doesn't really give the exact answer to the problem. In my application I use the Reachability code from apple and in my appDelegate I use this: -(BOOL)checkInternet { Reachability *reachability = [Reachability reachabilityWithHostName:@"www.google.com"]; NetworkStatus internetStatus =...

How to check a local wifi connection

hi all, I'm writing an app which connects to a static ip adress in a local network. How can I check if I have a local network connection? I want to connect to http://192.168.2.5 and i tried using the Rechability class but it returns FALSE, while the device is definately connected ( when i don't do the check, the app works fine so there ...