Capabilities_Android - PROCEED-Labs/proceed GitHub Wiki

Android Capabilities:

implemented

Capability Input-Parameter Output-Parameter (JSON Object {}) Status Note
takeUserPhoto maxSize :KB/int (!may return ERROR if compression fails/ maxSize to low) fileName : String
data : base64/String
(Lat Lng Altitude)
tested local sehr aufwendig, da FileProvider benötigt wurde
takeSilentPhoto optBoolean lenseFront (else lense back)
maxSize :KB/int (!may return ERROR if compression fails/ maxSize to low)
fileName : String
data : base64/String
(Lat Lng Altitude)
startAudioRecord - null tested local
duration : seconds/Int fileName : String
data : base64/String
tested local
stopAudioRecord - fileName : String
data : base64/String
tested local
getUserLocation - {"Lat":52.63473313,
"Lng":13.31114716,
"Time":1587310537,
"Accuracy ":6.432000160217285,
"Altitude ":97.26800537109375}
tested local nur callback, wenn GPS erreichbar ist
startAudioPlayback URL:href/String null [when player stops] tested local user has no interaction with the audio, only can force the app to DIE!
if Media-Vol< 20% THEN set Media-Vol = 20%
fileName : String
data : base64/String
null [when player stops] tested local
stopAudioPlayback null
startNFCscanner [for each supported, scanned NFC Tag] {UID: "" only one scanner at a time
stopNFCscanner null
scannForNFCtag UID null, when Tag with specified UID was discovered [only Once] only one request per UID at a time

implementation pending

Capability Input-Parameter Output-Parameter (JSON Object {}) Status Note

not implemented

Capability Input-Parameter Output-Parameter Notes
Bewegungsmodus erkennen [skipped] IN_VEHICLE, ON_BICYCLE, WALKING, RUNNING, STILL - Confidence ([int 0-100]) (https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity#getConfidence()) nur mit Google API Key möglich. AUßerdem müssen Google Play Services auf dem Gerät verfügbar sein (abhängigkeit)
Temperatur messen
Notification anzeigen Title, Text (String) + ICON (enum) , MessageID (int) [to overwrite existing Messages] callback when clicked (MessageID)
⚠️ **GitHub.com Fallback** ⚠️