Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Android: alarm cues are silent — AndroidAlarmService is a no-op

Đang mở
#614 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
47/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, csharp
Lĩnh vực
audio-video-rtc, mobile

Hướng nghiên cứu

Start with src/LageBuch.App.Android/Services/AndroidAlarmService.cs and compare its no-op Play method with SystemAlarmService.VoiceAssets to identify the four clips and playback expectations. Check Lagebuch.App.csproj for how the WAV files are bundled, then inspect #603 for the planned playback failure reporting on IAlarmService. Done means Android plays all four cues sequentially, surfaces failures consistently, and has a test that catches any missing bundled clip.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Problem

On Android, AndroidAlarmService.Play is an empty no-op (src/LageBuch.App.Android/Services/AndroidAlarmService.cs). None of the spoken cues sound on a tablet or phone:

  • „Rückmeldung an die Leitstelle“ (ILS reminder)
  • „Aufgabe fällig“
  • „Druckabfrage fällig“
  • „Rückzugsalarm“ — repeated until acknowledged

The class comment calls a real implementation "an explicit follow-up", but there was no ticket for it. A Lagebuchführer running Atemschutzüberwachung on a tablet gets the red banner and nothing else.

Expected

  • AndroidAlarmService plays the same four voice clips as the desktop (SystemAlarmService.VoiceAssets), one after another rather than overlapping.
  • Use the platform's own API (SoundPool or MediaPlayer), no new dependency.
  • Play with AudioAttributes.USAGE_ALARM, so the Rückzugsalarm is still audible when the device is on silent or the media volume is down. Whether every cue or only the Atemschutz cues should use the alarm stream is worth a decision in the PR.
  • The clips are currently bundled only by LageBuch.App.csproj (Assets/*.wav); the Android head needs them too.

Notes

  • Related: #603 (playback failures are silent). Whatever reporting #603 adds to IAlarmService should be implemented here as well, so a failing Android player surfaces the same way.
  • SystemAlarmServiceTests.Every_alarm_sound_has_a_bundled_voice_clip should get an Android counterpart, so a missing clip cannot ship a mute alarm.
Ngôn ngữ chính
C#
Star
1
Fork
3
Merge trung bình
4 giờ 15 phút
Pull request đã merge (30 ngày)
181

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeForFire/lagebuch

Tất cả issue của CodeForFire/lagebuch

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.