Android: How to share files on a local network? [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 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.

Related

Can I create an android app with radio frequency (without internet ) [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 1 year ago.
Improve this question
I need to create a radio app in android using a radio frequency (without internet).
So, when doing some re-searches, I found all samples using streaming.
Can someone tell me some If we can create the radio frequency android app without any internet connection?
There is no specific API to access FM Radio. All the source codes are proprietary. But you can find some reverse-engineered code or library for specific devices on google.

Use Socket or webserver? [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 5 years ago.
Improve this question
I want to establish communication between set top box and an android phone.
Is it better to use sockets or communicate via an embedded web server ?
1) An embedded web server can operate with any device having a browser, android devices included, with nice graphics/user interface. But it is heavier than solution 2.
2) Sockets is a lighter solution than a web server, but require an app (android) or a program (non-android) that know what to do and implement a user interface.
If the embedded web server is viable, probably is the easier solution.

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.

Is there anyway to make two android devices connect with wifi without a third device? [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 am writing an app to allow two android devices to play together. I'd like to know can I make a p2p connection with wifi between the two android devices without a third devices?
As long as you can target API level 14 and above you should be using the built in Wifi direct API's. Google has posted a very detailed guide on how to get WifiP2P working on Android.
Start from Device A - "Tethering and portable hotspot"
Connect Device B to created hotspot

Android device to device comminication using wifi [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 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.

Categories

Resources