WifiP2P | Wifi Direct,实现Android手机之间无网络传输文件,用于在局域网下传输任意文件 | Wifi library

 by   leavesC Java Version: Current License: No License

kandi X-RAY | WifiP2P Summary

kandi X-RAY | WifiP2P Summary

WifiP2P is a Java library typically used in Networking, Wifi applications. WifiP2P has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

于 2019/11/24 更新,主要是适配了运行时权限,修复 bug,优化了传输流程. 最近的项目需要实现一个 Android 手机之间无网络传输文件的功能,就研究了下 Wifi P2P(Wifi点对点) 这么一个功能,最后也实现了通过 Wifi 隔空传输文件 的功能,这里我也来整理下代码,分享给大家。. Wifi P2P 是在 Android 4.0 以及更高版本系统中加入的功能,通过 Wifi P2P 可以在不连接网络的情况下,直接与配对的设备进行数据交换。相对于蓝牙,Wifi P2P 的搜索速度和传输速度更快,传输距离更远. 项目主页:Android 实现无网络传输文件 ,欢迎 star.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              WifiP2P has a low active ecosystem.
              It has 591 star(s) with 161 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 5 open issues and 8 have been closed. On average issues are closed in 176 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of WifiP2P is current.

            kandi-Quality Quality

              WifiP2P has 0 bugs and 0 code smells.

            kandi-Security Security

              WifiP2P has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              WifiP2P code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              WifiP2P does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              WifiP2P releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              WifiP2P saves you 803 person hours of effort in developing the same functionality from scratch.
              It has 1657 lines of code, 71 functions and 32 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed WifiP2P and discovered the below as its top functions. This is intended to give you an instant insight into WifiP2P implemented functionality, and help decide if they suit your requirements.
            • Submits the file transfer .
            • Callback method .
            • Handle the intent .
            • Called when a menu item is selected
            • Returns the MD5 of the specified file .
            • Generate dialog .
            • Create a group
            • String representation of device status .
            • Creates and returns the view holder which is used to be clicked when the item is clicked .
            • Loads a thumbnail of the given image .
            Get all kandi verified functions for this library.

            WifiP2P Key Features

            No Key Features are available at this moment for WifiP2P.

            WifiP2P Examples and Code Snippets

            No Code Snippets are available at this moment for WifiP2P.

            Community Discussions

            QUESTION

            Wi-Fi P2P From Linux to Android
            Asked 2020-Aug-18 at 09:18

            I want to programmatically transfer a file from a Raspberry Pi with Wi-Fi access, running Linux (client), to an Android phone (host). I'm using this link as a guide for how to set up a P2P connection on Android, but I cannot find any references to handle the client side on non-Android devices. I understand I can use this link to provide documentation on connecting the client to the host, but I have no leads on how to actually send a file with it.

            Essentially, what I'd like to know is: Is there anything I can do on Linux to get the same effect as this, from the Android documentation? Am I completely misguided?

            ...

            ANSWER

            Answered 2020-Jun-06 at 20:54

            The solution for establishing a connection was in wpa_cli Particularly, the commands p2p_find to discover, p2p_peers to see what found it, and p2p_connect pbc go_intent=0 to stop searching and connect to the Android host. You can see it show up as a local network with ip a. However, now I seem to be having a problem on the Android side, and the adventure continues in this question, for anyone interested.

            Source https://stackoverflow.com/questions/62187487

            QUESTION

            create group chat in local network
            Asked 2020-Mar-18 at 12:10

            i want to create group chat using local network

            all devices connected to router ,, once one send message all other devices receive the message

            i worked with this tutorial "code available here" which use WifiP2P and i succeeded to send message from device to another

            How to make it a group chat ?

            ...

            ANSWER

            Answered 2020-Mar-18 at 12:10

            i found library called Wroup that create group chat in local network

            you can try example from this link

            Source https://stackoverflow.com/questions/60722391

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install WifiP2P

            You can download it from GitHub.
            You can use WifiP2P like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the WifiP2P component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/leavesC/WifiP2P.git

          • CLI

            gh repo clone leavesC/WifiP2P

          • sshUrl

            git@github.com:leavesC/WifiP2P.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Wifi Libraries

            esp8266_deauther

            by SpacehuhnTech

            itlwm

            by OpenIntelWireless

            whereami

            by kootenpv

            create_ap

            by oblique

            Try Top Libraries by leavesC

            AndroidGuide

            by leavesCJava

            ReactiveHttp

            by leavesCKotlin

            DataBindingSamples

            by leavesCKotlin

            Chat

            by leavesCJava

            WifiFileTransfer

            by leavesCJava