Android device to device comminication using wifi [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have 2 android devices and I need to communicate between the two using wifi to send and receive data. What is a reliable method to send/receive data over a private wifi signal, preferably without rooting (I already know how to do it if rooted, but I really don't want to root my phone (I'm rooting my tablet)).
I don't mind writing a lot of code myself, just looking for a method or class to send data and receive it over wifi, with examples.

Try to refer to the official Android developer site to learn more about the WIFI Direct API. This is the official documentation and you can attempt the demo to get started.

Related

What types of signals can an android device transmit through an app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed yesterday.
Improve this question
I'm trying to write and app to control 3 motors using my phone wirelessly and I'm not entirely sure what a simple way might be.
I was thinking to just send an RF signal, but the internet seems to agree that that is not feasible to do so. I was thinking of Bluetooth/wifi as well, but I would like to see if there are any other options to transmit signals from my phone.
I don't want to deal with establishing a bluetooth connection every time I want to use the motors, as for wifi I would prefer something that doesn't use the internet. Am I out of luck?
Also, I'm just getting into this type of stuff, so I apologize if this question is too obvious for some people, but I couldn't find an answer to it anywhere I looked, which is why I'm here.
All help is appreciated!

Android: How to share files on a local network? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to create application which can share files through wifi similar to Xender/Superbeam.
I don't want to rely on router or some other hotspot.
I want to create new connection from one device and other devices should able to find and connect.
How can I achieve any sample code or link will help.
You can try using wifi Direct .
Here is the documentation Wifi P2p
You can also try out the demo by importing sample project.
Also try out this extension of wifi p2p demo
Even Superbeam uses wifi direct as a fallback.

Create group over wifi [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm trying to make an application that connects devices over the same WiFi. I'm fairly new to Android development, but I have basic Java knowledge. Now I want to know if my approach is correct?
My approach is as following: I first connect two devices together through WiFiP2P (this part of the code is finished). Next one device creates a SocketServer. That device will send his IP through WiFiP2P to the other device so the devices can now join.
Thanks in advance!
My understanding of WiFiP2P is fairly limited, but I'm assuming that it is trying to be what Bluetooth failed to be.
This approach sounds fine. There is even a page on the offical documentation about it.
My only thought is that you should add protection against malicious users performing spoofing attacks, if that is relevant to your app.

How to develop an android application using a Wifi connection [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to develop a mobile application (android OS), and I want to know how could I use a WIFI connection to connect 2 or more mobiles ..?, which protocols, which API's..?
Any help please..
In order to communicate, they first have to discover each other in the network. Link will help you do discover.
If you already know the IP addresses of each other, then the problem is much simpler. RPC call or HTTP call or use Sockets. There is this server which can take http calls on the android application. So, both the applications can have servers hosted.
I've just looked up this link.

Connection between a phone and another phone [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm working on a mobile application that takes a photo on a phone and sends it to another phone.
It should be able to work between an Android phone and an Iphone.
I'm working with phonegap.
First I was thinking of using the bluetooth technologies, but I read that it's impossible between android and Iphone.
So I was thinking of a UDP connection, but no matter what, I can't have a server and a client on my phone.
The only things that would work is to implement a server on my Computer.
Do you know another way of doing it ?
Nope. Thats the normal way of doing it - get a server on the internet and build a RESTFul api to listen for a device to send/receive to a phone. Android-to-Android, you could do NFC, but not with an iPHone

Categories

Resources