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. Query Regarding Phone Call Origination and Termination - Application

Dear All,
I am trying to develop an application, which will originate a Phone
call to a given number and end the same after some particular
duration.

I could originate the phone call with below code, but not able to
terminate. Please help me.
             startActivityForResult(new Intent(Intent.ACTION_CALL, Uri.parse
("tel:" + number)),0);


Thanks,
Chandira

-- 

2. Handler and Looper,Background service

whats d idea of handler and Looper  combination?
what is its significance while communicating from service to
activity?
and explain the concept of callback in context to handler and looper.

-- 

3. suspend / resume

4. InstrumentationTestCase vs ActivityInstrumentationTestCase2

5. Books for learning to program for Android?

6. Images can run in emulator version1.11, but not in version1.12

7. App Not showing up on Verizon DROID Phones