Android Open Source - Development wifi p2pwifi






Project Summary

Example to connect wifi 2 wifi cellphone.

Web Site / Source Repository

p2pwifi is hosted in the following web site
https://github.com/tonismar/p2pwifi

If you think the Android project p2pwifi listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of p2pwifi.

ItemValue
Java File Count5
Supported screen sizes[mdpi, ldpi, hdpi, xhdpi]
Minimum SDK Version14
Activity Count1
Fragment Count1
Required Permissionsandroid.permission.ACCESS_NETWORK_STATE
android.permission.ACCESS_WIFI_STATE
android.permission.CHANGE_NETWORK_STATE
android.permission.CHANGE_WIFI_STATE
android.permission.INTERNET
android.permission.READ_PHONE_STATE
android.permission.WRITE_EXTERNAL_STORAGE
Asset File Namesassets\sample_file.txt




Resource Files

There are 3 image files in p2pwifi. The names of the image files are listed as follows.

ic_action_discover.png
ic_action_on_off.png
machine.png

The following screenshort is generated from the image listed above.

null

Java Source Files

p2pwifi has the following Java source files.

com.example.android.wifidirect.DeviceDetailFragment.java
com.example.android.wifidirect.DeviceListFragment.java
com.example.android.wifidirect.FileTransferService.java
com.example.android.wifidirect.WiFiDirectActivity.java
com.example.android.wifidirect.WiFiDirectBroadcastReceiver.java