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. Can anybody describe a little bit more details about android build structure?

The build structure is quite complicated in android, there seems many
variations and targets, and it is not easy to even know which files
are actually built, which are not. can anybody explain it a little bit
about it? Or there is some docs from Google for it? Thanks. To
understand the build structure is very helpful to port to your system.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 

2. Can the software stack be compiled to run on a PowerPC?

It was mentioned in the Google I/O videos that Dalvik is optimized for
Arm and other ports are coming. Can I download the whole source code
and compile it for a PowerPC? Thanks.

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

3. Android openGL and Google Sketchup

4. video capture

5. Office Suite

6. Saving a file to a system directory?

7. networking tcp/xmpp