Get Started
ReaktSRV transforms your Android device into a hardware server in seconds. With simple port configuration, you can expose hardware capabilities such as the camera, microphone, GPS, and sensors as HTTP APIs—enabling remote control, automation, and IoT integration.

Base URL

http://{host}:{port}

Example :

http://192.168.5.3:5193

Request Method

POST

Request Headers

NameValueNote
Content-Typeapplication/jsonRequest body is in JSON format.

Request Body

{
  "use": "{handler-name}",
  "action": "{action-name}",
  "params": { /* Parameter Object */ }
}

Field Description

FieldTypeRequiredNote
usestringYESSpecifies the module to be called (e.g. camera, mic, gps, etc.)
actionstringYESSpecifies the action to be executed (e.g. capture, record, get, etc.)
paramsobjectNOParameters required for the action (optional)

示例:

{
    "use": "vibrator",
    "action": "OneShot",
    "params": {
        "duration" : 3000,
        "amplitude" : 10
    }
}

Response Body

{
  "success": true,
  "message": "OK",
  "data": { /* response object */ }
}

Field Description

FieldTypeNote
successbooleanIndicates whether the request was successful
messagestringReturned status message
dataobjectResult data returned after the action is executed

Example :

{
  "success": true,
  "message": "OK",
  "data": {
    "image": "base64-encoded-image-data"
  }
}
文章目录

ReaktSRV

Turn your Android device into a hardware server

Follow Us

© 2025 ReaktSRV. All rights reserved.