Changes between Version 2 and Version 3 of Ticket #529, comment 5
- Timestamp:
- Mar 4, 2014, 10:57:15 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #529, comment 5
v2 v3 58 58 3. Retrieval of sensor title, exemplified by sensor URL `http://givare2.onk.lu.se/`:[[BR]]a. `String content = fetchDataFromUrl("http://givare2.onk.lu.se/params.inc");`[[BR]]b. A standard JSON-style string `jsonStr` is obtained by processing `content` according to step 2 above.[[BR]]c. The sensor title `labSensorName` is obtained using the open-source class `Base64Coder` (see http://www.source-code.biz for details): 59 59 {{{ 60 // Initialize lab sensor name 61 String labSensorName = ""; 62 60 63 try 61 64 {