Back to projects
ANDROID · TELEMETRY · DISTRIBUTED SYSTEMS
Individual projectFunctional prototype

RemoteScope — Android telemetry and embedded REST API

A native Android application that collects technical device information and exposes it through a REST API running directly on the phone, allowing other computers on the same local network to query its status.

  • Kotlin
  • Android
  • Room / SQLite
  • NanoHTTPD
  • REST API
  • JSON
  • Token authentication
Conceptual view of RemoteScope, an Android telemetry application with an embedded REST API.
Project overview

The phone collects and exposes its own telemetry

RemoteScope integrates data collection, local persistence and HTTP communication within an Android application. Through NanoHTTPD, the device runs an embedded REST API that transforms collected information into JSON responses available to other clients on the local network.

01

Problem

A mobile device's technical information is distributed across different system resources. RemoteScope explores a lightweight local way to centralize it and make it queryable through HTTP.

02

Solution

RemoteScope centralizes device status, persists GPS records with Room and exposes the information through two authenticated REST endpoints. The server runs on the phone and responds within the local network.

Collected information

Device status

  • Battery level
  • Connectivity status
  • Free storage
  • Android version
  • Manufacturer and model

GPS telemetry

  • Latitude and longitude
  • Record timestamp
  • Location provider
  • Accuracy
  • Altitude
  • Speed

Local connection

  • Device IP address
  • Port 8080
  • Collection status
  • Periodic status updates

Architecture and operation

  1. 1

    Device reading

    Android queries the system, resources and location.

  2. 2

    Telemetry

    Values are organized into shared models.

  3. 3

    Local persistence

    Room stores GPS records and configuration.

  4. 4

    Embedded server

    NanoHTTPD starts HTTP on the phone.

  5. 5

    REST API

    Endpoints produce JSON responses.

  6. 6

    Local query

    Another computer connects using IP and port.

Distinctive architecture

The phone also works as a server

RemoteScope integrates a lightweight HTTP server directly into the Android device. While the application is active, the phone operates as a telemetry node and other clients on the same network can query information using its local IP address and API port.

The API is not public: availability depends on the local network, permissions and the device's current configuration.

API confirmed in the implementation

GET/api/device_status

Returns battery, connectivity, storage, OS version and device model.

GET/api/sensor_data

Queries GPS records between start_time and end_time.

Both endpoints validate either an authorization token header or locally configured credentials.

Monitoring interface

The interface brings together collection control, the latest update, JSON device status and the configuration required to query the local API.

The IP address depends on the network and may change between devices or connections.

  1. 1

    Collection status

    Shows whether RemoteScope is collecting information and allows the process to be started or stopped.

  2. 2

    Device information

    Presents technical values in a readable JSON structure.

  3. 3

    Network configuration

    Shows the local IP, port 8080 and the visual action intended to copy the connection address.

Key capabilities

  • Start and stop collection
  • Visible monitoring status
  • Technical device information
  • Structured JSON responses
  • Embedded HTTP server
  • Local REST API
  • IP and port display
  • Room / SQLite persistence
  • Token or credential authentication
  • Queries from computers on the same network
  • GPS history by time interval
  • Autonomous on-device architecture
ANDROID ENGINEERING

Technical contribution

I designed and developed RemoteScope as an individual project to explore Android telemetry, local persistence, networking and embedded APIs. The solution integrates device-information collection, JSON representation and exposure through a lightweight HTTP server running on the phone.

  • 01Native development with Kotlin and Android.
  • 02Telemetry collection and persistence.
  • 03NanoHTTPD integration and REST endpoints.
  • 04Secure communication within a local network.

Demonstrated skills

  • Native Android development
  • Kotlin
  • Operating-system APIs
  • HTTP communication
  • REST design
  • JSON serialization
  • Local networks, IP and ports
  • Embedded servers
  • Room and SQLite
  • Authentication
  • Permissions and lifecycle
  • Distributed systems

Technologies used

Mobile application

  • Kotlin
  • Android SDK
  • Native interface

Telemetry

  • Android system APIs
  • LocationManager
  • Hardware and connectivity status

Persistence

  • Room
  • SQLite
  • DAO

Communication

  • NanoHTTPD
  • HTTP
  • REST API
  • JSON

Security

  • Access token
  • Local credentials
  • Header validation

Technical results and impact

Android + RESTAPI running on the device
JSONStructured telemetry
Local networkDevice-to-device communication
Individual projectFunctional prototype

The prototype integrates storage, networking and operating-system information; identifies the device IP and port, authenticates requests through tokens and runs a lightweight HTTP server within the application.

A mobile device within a distributed system

RemoteScope demonstrates the integration of Android development, telemetry, persistence and HTTP communication in one solution. The project explored an unconventional architecture where the phone collects information and also acts as a server, exposing its data through a REST API on the local network.