Closed vshcherb closed 1 year ago
Docs:
Can I test the BLE function in the current nightly build ?
Nope you can test demo apk that we're preparing though .... We plan to merge this demo app with OsmAnd.
thanks When will the demo app be available? Where can I download it?
thanks When will the demo app be available? Where can I download it? app-debug.zip
Here is the test app. Supported sensors are in the filter
thanks for reply sorry can't install Message: bad or split APK
Am Donnerstag, 2. Februar 2023 um 13:00:02 MEZ hat 0xRe1nk0 ***@***.***> Folgendes geschrieben:
thanks When will the demo app be available? Where can I download it? app-debug.zip
Here is the test app. Supported sensors are in the filter
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
You need to unzip it after download
that is was i doo... unzip and install the apk
i tried also to install with a split apk installer the Message: select Base APK (com.example.bletestapp) > install Y > error> install parse failed no certificate sorry...
Sorry to ask in here, but would that work also allow you to add a feature to send GPX files to ANT+ devices like a Garmin Etrex directly?
https://www8.garmin.com/manuals/webhelp/eTrex22x-32x/EN-US/GUID-9B89C076-1C30-457C-84D0-E3DBF5A34ACB.html
That would be absolutely amazing
default_list_text_size
default_list_text_size
android:contentDescription
= Pair new sensorAndorid | Figma |
---|---|
Android | Figma |
---|---|
Figma | Android |
---|---|
[x] Left/Right padding = 24dp. for all empty states.
[x] Background circles color is divider_color_light/dark
, but with difference transparancy
First 100%
Second 80%
Third 60%
Fourth 40%
Figma | Android |
---|---|
Figma | Android |
---|---|
[x] Use standart height AppBar if 1 or more sensors are paired
[x] Title Disconnected, style = medium
[x] Menu button, tap area should be 48dp
Is there a plan to save sensor readings using trip recorder to gpx file ?
Update: Okey, I see. Function is planned, but not fully implemented yet (setDeviceWriteGpx
). Will be possible to view/analyze this additional data in the in-app track analyzer with map overlay (like distance, speed ect.)
It would be good to have an additional layer that ensure authentication (CHAP or so) with the sensor (like for MiBand and other brands of wristbands) before reading data from the sensor.
OsmAnd~ 4.5.0#82m, Released: 2023-05-24
[x] Menu – Plugins – Settings, should open this screen.
[x] ???? Main screen in Drawer should be hidden by default similar to (Dashboard item, Trip Recording)
Icons: Use this icons for listed types of sensors
[x] Speed
ic_action_sensor_speed_outlined
widget_sensor_speed_day/night
[x] Bicycle cadence
ic_action_sensor_cadence_outlined
widget_sensor_cadence_day/night
[x] Bicycle power
ic_action_sensor_bicycle_power_outlined
widget_sensor_bicycle_power_day/night
[x] Heart rate
ic_action_sensor_heart_rate_outlined
widget_sensor_heart_rate_day/night
[x] Temperature
ic_action_thermometer
widget_weather_temperature_day/night
[x] Crash, after disabling Nearby devices permission for OsmAnd
Device : bluejay Brand : google Model : Pixel 6a Product : bluejay_beta Build : UPB2.230407.014 Version : 13 App Version : OsmAnd~ Apk Version : 4.5.0#131m 4500
[x] Crash, change screen orientation on Sensor screen exception (2).log
android:contentDescription
for AppBar Add button ant_plus_pair_new_sensor
[x] Decrease padding between title and description by 12 dp
[x] Description text color = text_color_secondary_light/dark
[x] Change button to Disconnect after connecting
[x] Divider it missed between list items.
[x] Text color for values = text_color_secondary_light/dark
Current result | Figma |
---|---|
[x] Remove 16dp padding below AppBar
[x] Decrease padding below Connect/Disconnect button by 8dp
[x] Show data for ANT+ sensors on Sensor screen in proper format. (see speed and distance)
ANT+ | BLE |
---|---|
[x] Background color below icon after sensor is connected = active_color_secondary_light/dark
Day | Night |
---|---|
Connection
[x] Tap on Pair, should launch connect to the sensor
[x] Add progress bar to the button after user tap on Connect, progress bar should be visible until the sensor will be connected.
Light theme | Dark theme |
---|---|
[x] Tap on connected or disconnected sensors should open details screen.
[x] Menu icon, add android:contentDescription
= Menu
[x] Menu icon, right padding 4dp
[ ] Use full width divider below Pair new sensor button
[x] Decrease padding between title and description by 8 dp. On all empty states:
[x] Description text color = text_color_secondary_light/dark
. On all empty states: Bluetooth is turned off, Searching for sensors, Unable to find any sensors.
Information card:
[x] Divider left padding = 16dp
[x] Text color for values = text_color_secondary_light/dark
[x] Use list_background_color_light/dark
for all cards background.
Received data card
[x] Text on the left side = text_color_primary_light/dark
[x] Text on the right side = text_color_secondary_light/dark
[ ] Progress bar height = 4dp
Icons: Use this icons for listed types of sensors
[x] Speed
ic_action_sensor_speed_outlined
widget_sensor_speed_day/night
[x] Bicycle cadence
ic_action_sensor_cadence_outlined
widget_sensor_cadence_day/night
[x] Bicycle power
ic_action_sensor_bicycle_power_outlined
widget_sensor_bicycle_power_day/night
[x] Heart rate
ic_action_sensor_heart_rate_outlined
widget_sensor_heart_rate_day/night
[x] Temperature
ic_action_thermometer
widget_weather_temperature_day/night
[x] Use full width divider above Pair new sensor button
[x] AppBar jump
Tested on: OsmAnd~ 4.5.0#213m, Released: 2023-06-15
[x] Bluetooth icon is not displayed, when Dark theme is on.
[x] Screen status refreshes after reopening the screen
[x] Crash: BLE sensors search- possibly related to the 2nd item exception (58).log
Empty state | |
---|---|
[x] Remove extra divide after last list item on Received data card
[x] Sensor screen, doesn't work in landscape
[x] Disable map touches the main search
[x] Disable map touches on search screen.
[ ] Talkback mostly doesn't work on sensor screen
[x] Remove background below shadow
[x] List item is divided into two items, ScreenReader can't read Title and Value by one press. On other screens list item is implemented as one target.
RTL
[x] Bottom shadow is missed for card
[ ] TalkBack is repeatedly read the same line
review 03.01.24 by Eugene
https://osmand.net/docs/user/plugins/external-sensors https://github.com/osmandapp/OsmAnd-Issues/issues/1919
[Overview]
[Setup]
[Trip recording]
[Widgets]
https://osmand.net/docs/user/plugins/trip-recording#recording-settings https://github.com/osmandapp/OsmAnd-Issues/issues/2292
https://osmand.net/docs/user/widgets/info-widgets#-external-sensors-widgets https://github.com/osmandapp/OsmAnd-Issues/issues/2284
ToDo
Next to ANT+ support BLE sensors https://developer.android.com/guide/topics/connectivity/bluetooth/ble-overview
Main screen empty state
First screen when sensors are not paired with OsmAnd.
img_help_sensors_day/night
add
icon should launch Pair new sensor bottom sheetPair new sensor bottom sheet
ic_action_bluetooth
ic_action_ant_plus
Searching
Main screen with connected sensors, Figma
Menu
ic_action_sensor_off
ic_action_settings_outlined
ic_action_edit_outlined
ic_action_sensor_remove
Sensor screen, Figma
Toast messages