I thought about something similar but still have problems. Like, I need to instantiate NetworkInfo and set its data like, "state" and "type" at least. However, the NetworkInfo interface does not seem to allow writing such data in an instance. As far as I understand, it doesn't define a public constructor either. (http:// developer.android.com/reference/android/net/NetworkInfo.html) But I'm sure someone out there already tested a similar scenario to mine efficiently and conveniently.
-- 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