Mobile Client Interface Development document template collation

Source: Internet
Author: User

This is a personal collation of the mobile Phone development document template, easy to write their own documents later.

The general content is as follows , in detail in the personal csdn download :

Mobile forwarding SMS upload temperature and humidity information

The mobile side is responsible for receiving the background temperature and humidity sensor through the text message sent by the temperature and humidity and latitude and longitude information, the mobile backend after receiving the Web server upload, of course, the sensor can also be directly uploaded via WiFi Web server. Returns lowercase true or false.

Request URL:

http://192.168.1.101:8080/RFID/addTransTemperature.action?phoneNumber=123&temperature=12.0&humidity= 11.0&time=20141225000000&longitude=23.122&latitude=157.154

Request Parameters:

PhoneNumber

Sensor number (or phone number)

Temperature

Temperature

Humidity

Humidity

Time

Send Time

Longitude

Longitude

Latitude

Latitude

return value True or False

Example: True

Iv. Query Current Temperature change information

Mobile terminal through the mobile phone to view the temperature and humidity changes in the cabin information, so that abnormal information timely processing, return to the temperature information list.

Request URL:

http://192.168.1.101:8080/RFID/queryAndroidAllTemperature.action?count=5&transportNumber=zss20141225

Request Parameters:

Count

Number of request records at one time

Transportnumber

Shipping Batches

return Parameters: Collection List

Temperatureid

Record ID

PhoneNumber

Sensor number (or phone number)

Temperature

Temperature

Humidity

Humidity

Longitude

Longitude

Latitude

Latitude

Time

Send Time

Detailed parameters can be queried for the transport domain Layer object definition.

return Example:

"List": [

{

"Humidity": 38.11,

"Latitude": 0,

"Longitude": 0,

"PhoneNumber": "123",

"Temperature": 21.00,

"Temperatureid": "402881f24a712ea5014a713bbf080019",

"Time": "20141222090217"

}, {

"Humidity": 38.10,

"Latitude": 0,

"Longitude": 0,

"PhoneNumber": "123",

"Temperature": 21.20,

"Temperatureid": "402881f24a712ea5014a713bbf080020",

"Time": "20141222090207"

}

]

Mobile Client Interface Development document template collation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.