Version 1.4.0 (current)
Sensors and activity recognition · environment.sensors
Movement/posture assistance and adapting interaction to the scenario
Purpose and status
Movement/posture assistance and adapting interaction to the scenario
Inventory status as of 2026-10-10: Research record; no runtime pass recorded here (research).
Not tested. The example is a research entry point, not an installed Taku API.
Before calling
Source descriptions below retain their original language; identifiers and commands are unchanged.
| Field | Source value |
|---|---|
| apiMin | 1 |
| minimumBasis | Interface class first entered the public SDK (not the minimum version for every behavior described here) |
| publicSdkClass | true |
| exampleApiMin | 23 |
| declaredVersionNotes | API declarations are not device guarantees; recheck per targetSdk / OEM branch. |
| Device conditions (source record as of 2026-10-10) | Historical source wording, 2026-10-10: Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device |
| Environments recorded as of 2026-10-10 | [] |
ROM requirement: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges
Permissions and authorization
| Permission or qualification | Authorization condition |
|---|---|
| Most regular sensors need no runtime permission; step count/activity needs ACTIVITY_RECOGNITION; high sampling rates need HIGH_SAMPLING_RATE_SENSORS | Enumerate device support first; register a listener as the algorithm needs; do not treat raw sensor values as behavior facts |
Entry points
| Entry point | Availability |
|---|---|
| SensorManager.getSensorList | Upstream API / research implementation entry point; not an available Taku SDK method |
Call examples
android_api_snippet
Environment: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI
Prerequisites: Enumerate device support first; register a listener as the algorithm needs; do not treat raw sensor values as behavior facts
val sensors = getSystemService(SensorManager::class.java).getSensorList(Sensor.TYPE_ALL)
Log.i("TakuProbe", "types=${sensors.map { it.type }}")Expected result: Gets the supported types; semantic activity recognition needs an algorithm or another API
Executed in the source record’s run: Not executed in that run; see the validation scope below.
Limitations
- Emulator sensors differ from physical devices; newer versions restrict high sampling rates and background behavior.
- There is no verification for walking/driving recognition.
Validation records
Research
| Field | Source value |
|---|---|
| status | documented |
| scope | Upstream mechanism and research variants; see limitations for unimplemented parts |
Emulator
| Field | Source value |
|---|---|
| status | not_verified |
| target | AgentOS_ImageCheck / API36 / ARM64 |
| scope | Not tested. The example is a research entry point, not an installed Taku API. |
| date | 2026-10-10 |
Physical device
| Field | Source value |
|---|---|
| status | not_verified |
| date | — |
| devices | [] |
Not yet verified on a physical device as of 2026-10-10. See current progress for later status.
Look up environment.sensors in capabilities.en.json for the complete record. See current progress for later project evidence.
Upstream references
- android.hardware.SensorManager — audit:
official_reference - Android Manifest permission reference — audit:
web_content_reviewed
Version and sources
Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see Current progress for later device support. Detailed source prose can remain in its original language.
Research preview · Current availability
Report an issue or give feedback
Delivery to the maintenance queue does not mean it has been handled. Feedback is retained for 90 days.
Built with Fumadocs