Small mistake in Android developers reference?

by Daniel Wagner » Fri, 23 Apr 2010 08:02:20 GMT


Sponsored Links
 Hi everyone,

it seems that there is a small mistake in the Android developers
reference. I was listening to ConnectivityChange events
(android.net.conn.CONNECTIVITY_CHANGE) when I saw that the supplied
NetworkInfo behaves differently than specified. It says that the
DetailedState of "scanning" maps to "connecting":http://
developer.android.com/reference/android/net/NetworkInfo.State.html
However, that is not true. "scanning" is mapped to "disconnected", as
can be easily seen in core/java/android/net/NetworkInfo.java (http://
android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/
java/android/net/NetworkInfo.java).

I believe the documentation should be updated to reflect this.

Best,
Daniel

--



Other Threads

1. Search & Dine (Restaurant search Android app by Mofirst)

Nitichandra-

Congratulations on releasing your application, but unless you're
planning to release and discuss its source code, can you please make
announcements like this in the android-discuss mailing list?

Thanks,
Andy

On Thu, Jan 22, 2009 at 6:34 AM, nitichandra ingle





--~--~---------~--~----~------------~-------~--~----~

2. android.hardware.Camera - JPEG image of correct size but always black

Is this on the emulator or on G1?



--~--~---------~--~----~------------~-------~--~----~

3. How to call dialogs ... ColorPickerDialog syntax question

4. Possible permissions issue....

5. "assets" directory and AssetManager caused the "No space left on device" problem

6. Accessing preferences

7. Progress Bar Color