Thursday, October 11, 2012

Re: [android-developers] Ethernet cables?

Toshiba Thrive for sure works with USB-Ethernet (Amazon sells a USB-ethernet adapter) with other low-draw devices as well on a passive hub 
One issue I've run into thus far is the ConnectivityManager does not inform you of loss of connectivity (it will however inform you of getting it)
Also, the when receiving the broadcast intent saying you have connectivity, the state is described as ETHERNET, and connected/connected, but isAvailable is always false  :(

A bigger issue is that Many apps, including several of Google's do not do a generic "is connected" kind of check, they are looking specifically for wifi or mobile...  You can tell because they scream across the logs lol

Basically, if you are using a generic(type agnostic) check for connectivity before each call to a server, and place a "listener" for connectivity that checks at intervals and reports back, you can get by, until the OS supports this mode fully (ie breaks your app)

Luckily I only need this solution for a specific app and device.

hope it helps some...

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate