• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
0

Connecting socket and sending JSON in JAVA android

I'm trying to connect a socket and then send a simple JSON string over it. Anyone know how to do this ?

javasocket
5th Apr 2018, 9:53 AM
dragos popa
dragos popa - avatar
1 Respuesta
+ 13
try these tutorials https://examples.javacodegeeks.com/android/core/socket-core/android-socket-example/ http://androidsrc.net/android-client-server-using-sockets-client-implementation/ https://stackoverflow.com/questions/7384678/how-to-create-socket-connection-in-android https://www.pixelstech.net/article/1368328614-Android-socket-programming-example
5th Apr 2018, 10:33 AM
Burey
Burey - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Where make_unique is better than unique_ptr(raw pointer)
0 Votes
Best way to learn a new programming language fast?
1 Votes
Can someone help and explain better on slicing
1 Votes
Will i land a job
1 Votes
Course
1 Votes
Why we use oops in python rather than any function ?
1 Votes
Why we use return in function ?
0 Votes
someone helps how can i make two for loops over a 2d array in c ( i didn't learned pointers yet )
0 Votes
Leap year check
0 Votes
why is my leaderboard diferent than my brothers
0 Votes