Our app controls our music server using webservice calls over the LAN.

Using ACRA, I received a report from a phone that included an Invalid
network type error. This resulted from the second line, below, that is
in our code:

ConnectivityManager connManager = (ConnectivityManager)
getSystemService(CONNECTIVITY_SERVICE);
if(!
connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI).isConnected())
{
    //handler
}

Of course, this works on multiple test devices over multiple LANs
during testing. Any thoughts on why someone might get this error?

Thanks for any help.
Kim

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to