Is IPv6 over the wifi interface supported in the SDK?

by Michael Newton » Wed, 21 Apr 2010 11:32:03 GMT

Sponsored Links
 I'm hearing that IPv6 is supported by android, at least over the wifi
interface, but I cannot do anything with IPv6 through the SDK at all.
I am running Android 2.1 on an N1.

I can see that at the OS level, the wifi interface has a link local
inet6 address:

ufo:~ newton$ adb shell
$ cat /proc/net/if_inet6
00000000000000000000000000000001 01 80 10 80       lo
fe80000000000000022376fffe8d1e63 0c 40 20 80     eth0

... although ifconfig does not show it:

$ ifconfig eth0
eth0: ip mask flags [up broadcast running

If in Java I call getInetAddresses on a, I
only get the inet4 address.

As I'd expect from the above, I cannot connect via any Java APIs to
another link local IPv6 host on the same wifi lan

Depending on my approach I get "socket level is invalid", a bad socket
options error, host unreachable, or timeouts. Has anyone seen this
work or have any insight?



Other Threads

1. Embed audio file !

Hi !

I follow exactly the instruction from to embed media file.
I created raw in res then add android.wmv and use the following code to
embed it. I don't know why it show R.raw cannot be resolved. How to resolve


   void showAudio(Context context)
        InputStream is = this.getResources().openRawResource(;

        MediaPlayer mp = MediaPlayer.create(context,;

Thanks for help !

Many thanks and regards
Da Nang, Vietnam


2. Can we play a recorded voice on phone call.

         Is that possible to play a recorded voice on a phone call.
Like as answering machine does. ???

Can somebody help me ??

Abhinav Parashar

3. Is it possible to load to activities in the same screen each for upper or lower part of the screen?

4. How to create a thread that waits for an answer from a certain port ( from external server ) ?

5. How to create a thread that waits for an answer from a certain port ( from external server ) ?

6. NullPointerException when trying to make a button action??

7. Main Menu (Very Easy)