Use Socket or webserver? [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 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.

Related

Socket programming between linux client and linux/windows server and android [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 6 years ago.
Improve this question
I want to send data from a Linux client to a Linux/Windows server (maybe a shared host) and finally to an android application like this figure :
The data can be a text or stream video or audio.
What are the best technologies and languages for this scenario ? What is your suggestion ?
You can set up communication between same platform or cross platform clients/server. If you're sticking to *nix platform, you can try out with unix sockets. Since cross platform being a better option, you can implement the same thing using node.js and sockets. For better insight upon socket.io,please go through http://socket.io/

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

Live audio-video streaming to server, using network internet (not wi-fi) [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 create Android app, that will enable users to stream in real time audio and video from their phone to specified server. In addition, that server should save such recording to some file, to view it latter, but now it's not so important.
My question is: are there any simple or well documented ways of streaming video to remote server (not via wi-fi, I guess it can be important info)
I'm not sure how well Android handles WebRTC currently but I recommend you check it out! It uses Web-Protocols alongside Javascript/HTML5 components to stream-video/audio in real-time via the web-browser. I use it in 2 of my projects for similar applications. The only thing that differentiates is that you are wanting to store the video on your server.I'm guessing would also be possible but I haven't tried it! You can find all the documentation here.

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