A
A
Alexey Saprin2015-03-29 15:26:28
Java
Alexey Saprin, 2015-03-29 15:26:28

android socket?

Hello,
the task is to turn off h / l via wifi, I use esp8266 configured for an access point and tcp server,
let's say I want to make a Wi-Fi switch from a computer, turn it off, everything works, everything suits,
I want to write my application on android, I have never dealt with Java with an interface, I sort of figured it out (well, it’s so simple)
I understood how to connect to Wi-Fi ....
but now how to exchange data with the server
I need to sometimes check the state of the switch (let’s turn it off physically with the button)
well, when you click on the checkbox, of course, send the data to the server
Give advice on implementation .. and where you can find examples (preferably in Russian because the head is already swollen from English)
PS: not http sockets, just a socket, just something like 1on 1off

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
raid, 2015-04-02
@0crash0

Um, like a regular java.net.Socket will work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question