简体   繁体   中英

How to send data from Android application to Java Server(Apache tomcat)?

I am going to start an application, that requires that data should be passed from Android to Java Server. This data can be in one of the 2 forms

  1. Raw text data ie in form of Text or Json format and

  2. Bitmap form data like images or Serialized Objects.

Some suggested me to use Json Objects OR Java Socket API.

How do I use them to send data to server with requests?

Please check this answer: It is about send image to web server

go here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM