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. image database

Hello uru,

In order to get all the images on device, you can query this URI
"content://media/images".

After getting the images, you can insert the tuple with the image and
other columns that you want to add.
Don't forget the blob data will be stored as the actual path of the
data in sqlite3 database.

Best wishes,
sacoskun



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

2. jxta

Hi,

can anybody tell, if it is possible to use jxta with android ?
Or would there be a better way to implement a p2p network based
Android application?
tia

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

3. Contact List to include destinations with audio image, please.

4. Problems with WebView

5. Problem Running App

6. Troubleshooting----installing android plug in to eclipse

7. Problem Running My App