You need to organize raspberry Pi communication over wifi with android application. What is the best way to organize wifi data transfer to android?
Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer to the participants 0xdb , br3t , UModeL , Enikeyschik , Jarvis_J 14 December '18 at 19:02 .
The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .
|
1 answer
The solution could be a REST web service.
On RPI, jre and tomcat are installed.
- https://micro-pi.ru/%D1%83%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0-tomcat-8 -ubuntu-16-04-armbian /
- http://androidsrc.net/installing-tomcat8-raspberry-pi-3/
You write a java servlet that will accept and process http requests and deploy it to tomcat.
- https://habr.com/post/115718/
- https://o7planning.org/ru/11199/java-restful-web-services-tutorial-for-beginners
Under android write a client who will send these requests.
- oneCan I tell you more about this method, please - Vlad Yulin
- On RPI, jre and tomcat are installed. You write a java servlet that will accept and process http requests and deploy it to tomcat. Under android write a client who will send these requests. habr.com/post/115718 o7planning.org/ru/11199/… - Xoxole
- Fixed answer. - Xoxole
|