System directories
| Method | Result |
|---|---|
| Environment.getDataDirectory() | /data |
| Environment.getDownloadCacheDirectory() | /cache |
| Environment.getRootDirectory() | /system |
External storage directories
| upstream tunnel { | |
| server 127.0.0.1:3000; | |
| } | |
| server { | |
| listen 80; | |
| server_name dev.codeplane.com br.dev.codeplane.com; | |
| location / { | |
| proxy_set_header X-Real-IP $remote_addr; |
| <?php | |
| header('Access-Control-Allow-Origin: *'); | |
| header('Content-Type: application/json'); | |
| require_once './database.php'; | |
| // require_once './models.php'; | |
| // require_once './formatter.php'; | |
| class AddApi { |
| #include <elapsedMillis.h> | |
| #include <SoftwareSerial.h> | |
| #include <LiquidCrystal_I2C.h> | |
| #include <Wire.h> | |
| #include <afstandssensor.h> | |
| SoftwareSerial Bluetooth(11, 10); | |
| elapsedMillis send_timer; | |
| elapsedMillis view_timer; | |
| elapsedMillis pump_timer; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Box Shadow</title> | |
| <style> | |
| .box { | |
| height: 150px; | |
| width: 300px; | |
| margin: 20px; |
| exports = function(payload,response) { | |
| const mongodb = context.services.get("mongodb-atlas"); | |
| const sensordata = mongodb.db("iotdb").collection("sensordata"); | |
| var body = {}; | |
| if (payload.body) { | |
| try{ | |
System directories
| Method | Result |
|---|---|
| Environment.getDataDirectory() | /data |
| Environment.getDownloadCacheDirectory() | /cache |
| Environment.getRootDirectory() | /system |
External storage directories
| [{ | |
| "name": "Deadpool", | |
| "url": { | |
| "large": "https://api.androidhive.info/images/glide/large/deadpool.jpg" | |
| }, | |
| "timestamp": "February 12, 2016" | |
| }, | |
| { | |
| "name": "Batman vs Superman", | |
| "url": { |