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. Removing Widget from Home Screen when Uninstalled

AFAIK, the user needs to remove it manually...

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------





> 

2. Problem running latest ADT in Eclipse on Mac 10.6?

Has anyone had any luck getting this to work?  My thought is that
there is a bug that will not allow the ADT to load in Eclipse.

-- 

3. I have the idea but dont know how to program Android, what do i do?

4. Accessing Email Contacts in Android 2.0

5. Using browser within Emulator to launch an app

6. XML stream corruption

7. Launching App from a browser