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. Flashing spica dg vista atau win 7 ?

Rekans sesama pengguna spica

Mohon info apakah ada di antara rekan-rekan yang sudah berhasil melakukan
flashing spicanya via window vista atau win 7 ?

Salam Brian

-- 
"Indonesian Android Community [id-android]" 

2. Application not installed - anyone have thoughts as to why?

If you check your logcat messages, you'll probably get your answer,
but I'll tell you here anyway:

You're not allowed to replace an application with another that has a
conflicting signature.  It's an obvious safety feature.

So uninstall your old version and then install the new version.

-- 

3. Emulator and device problem

4. Mobclix SDK x Garbage Collector

5. Wifi is unstable on Nexus One?

6. Closed WTA: Spica selalu stuck di setup connection saat flashing

7. Creation of a Developer Wanted / Artist Wanted / Services Offered page?