WalkieTalkie | allows Android devices within Wifi-direct range | Android library
kandi X-RAY | WalkieTalkie Summary
kandi X-RAY | WalkieTalkie Summary
Thanks for visiting. This project is a proof of concept for allowing two Android devices within Wifi range (<100 metres) to make voice calls without an access point or cell tower. This could be useful if you are out in the countryside without cellular access and wish to communicate with users in a nearby car etc. To test you will require a computer with Android Studio to install the app onto both of your Android devices. Installation: 1.install Android Studio to open this project. Once installed, open the project and allow the system to install the required libraries. 2. Attach your device via USB to your computer. You should see your device in the devices drop down. 3. Select your device from the drop-down and hit the play button to install the app onto your device. 4. Repeat steps 2-3 for your other devices.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initializes the view
- Delete all persistent groups
- Setup the service discovery listeners
- Handles receiving WiFiP activity
- Initialize peer view
- Called when a connection is lost
- Handle the call status of the network
- Starts listening for audio messages
- Runs the audio loop
- Convert byte array to short array
- Stop Wifi - Direct Group
- Handle the incoming intent
- Disconnects from the network
- This method is called when the application exits
- This method sends a datagram packet
- Start an action
- Start the activity service
- Start receive call service
- Establish a connection to the wifi group
- This method is called when a resume call is suspended
- Setup W2P widget listeners
- Called when a peer is clicked
- Called when a search button is pressed
- Invoked when an intent is received
- Get a view for a device
- Initializes the device
WalkieTalkie Key Features
WalkieTalkie Examples and Code Snippets
Community Discussions
Trending Discussions on WalkieTalkie
QUESTION
I am trying to use Google Nearby Connections API to connect two Android devices to exchange data but no success.
The devices can found eachother none of them can connect to the other. It always fails at onConnectionInitiated()
with
STATUS_ENDPOINT_UNKNOWN when I try to accept the connection.
I tried it with Strategy.P2P_POINT_TO_POINT
Strategy.CLUSTER
and Strategy.STAR
but I get the same result.
Anyone can help me what do I miss?
Both devices are physical and running on Android 9.0
This is the code:
...ANSWER
Answered 2020-Dec-20 at 09:52Finally I've managed to get it working but not sure about the problem. I managed the connection lifecycle a bit different way than in the API Docs.
So I created a private helper class
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install WalkieTalkie
You can use WalkieTalkie 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 WalkieTalkie 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
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page