• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright 2014 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18<resources>
19    <string name="intro_title">Introduction</string>
20
21    <string name="batching_queue_title">Background sensor batching</string>
22    <string name="batching_queue_description">Batching allows the sensor to report sensor events at
23        a specified frequency.\n\nThe system delays calls to the SensorEventListener and deliver
24        them in intervals, based on the maximum report latency specified when the listener is
25        registered. Note that this only means that the call to onSensorChanged() is delayed, the
26        total number of calls is identical as if no batching was used. Sensors only deliver events
27        while the CPU is awake. If the CPU is asleep and a batched sensor event listener is still
28        registered, the sensor will continue to collect events until it runs out of memory and
29        overwrites old values. This use case is not covered by this sample. (The sensor event queue
30        should be flushed using a scheduled background thread.) \n\nIn this sample app data is only
31        collected while the app is running and the CPU is awake. In this case the sensor will
32        deliver events before the queue fills up.
33    </string>
34
35    <string name="explanation_description">The age of a sensor event describes the delay between
36        when it was recorded by the sensor until it was delivered to the SensorEventListener.
37    </string>
38
39    <string name="register_detector_title">Register step detector sensor</string>
40    <string name="register_detector_description">Register a listener for the STEP DETECTOR
41        sensor.\n\nThis sensor delivers an event when the user takes a step. One event is received
42        per step.
43    </string>
44
45    <string name="register_counter_title">Register step counter sensor</string>
46    <string name="register_counter_description">Register a listener for the STEP COUNTER
47        sensor.\n\nThis sensor triggers events when a step is detected, but applies algorithms to
48        filter out false positives. Events from this sensor have higher latency than the step
49        detector and contain the total number of steps taken since the sensor was first registered.
50    </string>
51
52    <string name="register_0">No batching (delay=0)</string>
53    <string name="register_5">5s batching (delay=5000ms)</string>
54    <string name="register_10">10s batching (delay=10000ms)</string>
55
56    <string name="counting_title">Total Steps: %1$d</string>
57    <string name="sensor_counter">Step Counter</string>
58    <string name="sensor_detector">Step Detector</string>
59    <string name="counting_description">Sensor: %1$s\nMax sensor event delay: %2$,d \u00B5s\nAge of
60        events in s:\n%3$s
61    </string>
62
63    <string name="error_title">Error</string>
64    <string name="error_nosensor">This sample requires at least Android KitKat (4.4) and a device
65        with the step sensor.\n\nThis device does not appear to meet these requirements, as an
66        alternative you may want to consider using the gyro sensor and implement your own step
67        recognition as a fallback.
68    </string>
69    <string name="warning_nobatching">The listener has been registered, but batch mode could not be
70        enabled.\n\nIt is likely that it is not supported by this device.\n\nSensor events will be
71        delivered in continuous mode.
72    </string>
73
74    <string name="action_notagain">Do not show again</string>
75</resources>