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 192.168.1.2 mask 255.255.255.0 flags [up broadcast running
multicast]

If in Java I call getInetAddresses on a java.net.NetworkInterface, 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?

thanks
M.

--



Other Threads

1. Embed audio file !

Hi !

I follow exactly the instruction from
http://code.google.com/android/toolbox/apis/media.html 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
?

...
        showAudio(this);
...

   void showAudio(Context context)
    {
        InputStream is = this.getResources().openRawResource(R.raw.android);

        MediaPlayer mp = MediaPlayer.create(context, R.raw.android);
        mp.prepare();
        mp.start();
    }

Thanks for help !

-- 
Many thanks and regards
L THANH TNG
Da Nang, Vietnam

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

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

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

Can somebody help me ??

Thanks
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)