Hello,

i'm using the protocol for making p2p connection using wifi in android
(http://developer.android.com/reference/android/net/wifi/p2p/package-
summary.html)

I have a problem calling the discoverPeers() function :

ActionListener.onFailure(int reason) is called (its an interface to
trigger some events) and i receive reason=1, which means
'P2P_UNSUPPORTED'.

i use a virtual device and the latest android sdk(4.0.3), i have an
internet connection on this device.

<uses-sdk android:minSdkVersion="15" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /
>
<uses permission android:name="android.permission.INTERNET"/>
<uses-feature android:name="android.hardware.wifi.direct"
android:required="true"

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to