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. app2sd - not working

I've just updated my app so the user can choose to install it on the
sd card or not. But I keep getting some comments that it's not
possible for them to install it on the sd card. Can anyone see if I've
made anything wrong or if you have any other suggestions?


<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
        android:installLocation="auto" >

        <uses-permission android:name="android.permission.INTERNET" />
android:name="android.permission.ACCESS_NETWORK_STATE" />
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.READ_PHONE_STATE" /
        <uses-permission android:name="android.permission.VIBRATE" />

        <uses-sdk android:minSdkVersion="4" />

    <application android:icon="@drawable/icon" android:label="@string/




2. Order of insert

I am wondering how can I insert an element at the beginning of the
data base? I want to do this because:
a) I want to display the elements (ListView) as 'last-inserted on top
and first-inserted on the bottom' (like a stack)
b) I want to limit the amount of elements in my db. When a new element
is added (over the limit) I can put the new one (at the beginning) and
delete the last one. (Don't know yet how to delete the last element).

I was searching for a solution but I am starting to wonder I have any
control of how the element are inserted. If not I was thinking about
displaying the database from end to bottom. But don't actually know
how to do it since the cursor is always set at the beginning of the
db. If could achieve this I can solve b) by deleting the first element
(again don't know how to achieve this yet).


3. Accessing AudioManager within a class which extends BroadcastReceiver

4. Exchanging data between apps

5. Package name problem during apk installation

6. setFilterQueryProvider not working - Please help

7. Review Singkat Hands On Motorola Droid Pro