Commit Graph

199 Commits

Author SHA1 Message Date
edr
775cea84a4 v1.2 2024-02-24 16:45:58 +01:00
edr
946de1d65b Merge pull request #10 from fwiesel/foreground-service-child
Move Monitor Mode for Child to its own Service
2024-02-21 22:14:05 +01:00
edr
9526f23c0c More specific log message in ListenActivity.java 2024-02-21 21:21:59 +01:00
edr
30a0c26826 Minor fixup MonitorActivity.java 2024-02-21 21:21:59 +01:00
edr
1077b2e527 Minor fixup in MonitorService.java 2024-02-21 21:21:59 +01:00
Fabian Wiesel
77c8456d45 Only log the exception when unexpected
The socket is closed in another thread to stop the transmission.
That causes an exception, but that is the expected behaviour, so
do not log it.
2024-02-21 21:21:59 +01:00
Fabian Wiesel
523ee93d75 Split-off MonitorService
Same motivation as for the parent device:
The monitor activity will be quickly destroyed,
unless it is connected to a foreground service.

By moving the thread and audio listener to a service,
this should be avoided.
2024-02-21 21:21:59 +01:00
edr
1ac22e872b Merge branch 'master' into feature/listen-service 2024-02-21 18:58:01 +01:00
edr
7473fffa8a Fix possible NullPointerException 2024-02-21 18:56:14 +01:00
edr
f412e43e02 Use more arbitrary ID 2024-02-21 18:51:07 +01:00
edr
2818384c6e Reduce TAG visibility 2024-02-21 18:50:48 +01:00
edr
6edc59236a Remove member var name m prefixes 2024-02-21 18:47:29 +01:00
edr
2190ef1c94 Fix inappropriate canvas.getHeight/Width 2024-02-21 16:09:50 +01:00
edr
3be08d09f0 Make all license comments non-javadoc 2024-02-21 16:08:25 +01:00
edr
c9c4cdc282 Make paint member final 2024-02-21 16:00:05 +01:00
edr
8e754557fa Add missing license headers 2024-02-21 15:57:29 +01:00
edr
f01aaaf196 Merge pull request #9 from fwiesel/foreground-service
Move listening to ListenService
2024-02-21 15:42:48 +01:00
edr
6b6458b04b Fix ArrayIndexOutOfBoundsException 2024-02-19 20:45:15 +01:00
Fabian Wiesel
d7e6ba2b5a Post error message from Listening Thread 2024-02-17 07:49:11 +01:00
edr
8a75044153 Remove unused entry from strings.xml 2024-02-17 02:46:31 +01:00
edr
43a7a66caa Fix possible NullPointerExceptions 2024-02-17 02:44:18 +01:00
edr
e95a554717 Delete unused method 2024-02-17 02:09:27 +01:00
edr
703406b517 Taking snapshots of volume view no longer needed 2024-02-17 02:07:44 +01:00
edr
0ae2ca4a65 Fix volume monitor scrolling 2024-02-17 01:17:41 +01:00
edr
7359716c09 Fix notification click handler 2024-02-17 01:00:55 +01:00
edr
5b0ccaa8a1 Store child device name as member var that can be queried later 2024-02-17 00:59:19 +01:00
Fabian Wiesel
7fd7451700 Get last length elements, not first 2024-02-17 00:55:27 +01:00
edr
a9f5b233e6 Avoid synchronized by scheduling writes on the main event loop 2024-02-17 00:01:59 +01:00
Fabian Wiesel
f6a429e545 Split out ListenService and VolumeHistory
This moves the model of the historic volume to its own class (VolumeHistory),
and extracts the listening out of the ListenActivity to the ListenService.
2024-02-16 20:50:19 +01:00
Fabian Wiesel
b339602184 Adopt settings from Android Studio
It doesn't change any functionality, only the format and
settings according to the recommendations of Android Studio
2024-02-16 20:35:48 +01:00
edr
f27e30f524 Prevent inserting duplicate entries into child device list 2024-02-14 23:44:31 +01:00
edr
b61a6f5ba8 v1.1 2024-01-12 21:11:58 +01:00
edr
eaeec23986 Add hint regarding version incompatibility 2024-01-12 21:04:55 +01:00
edr
37b21ad495 Upgrade gradle 2023-10-01 21:43:17 +02:00
edr
9d052fae2f Reenable build failure on lintErrors 2023-10-01 21:32:26 +02:00
edr
3d0cf2444c Remove redundant article in license text 2023-10-01 20:57:42 +02:00
edr
4571b06b23 Reenable build errors on lintFailure 2023-10-01 20:44:41 +02:00
edr
1625d50359 Fix some warnings 2023-10-01 20:37:03 +02:00
edr
db032437dd Reduce sampling frequency to 8000 Hz 2023-10-01 20:18:03 +02:00
edr
b8c78797e4 Set port field by default 2023-10-01 20:17:31 +02:00
edr
f98526b4fb Fix another crash and some reformatting 2023-10-01 00:52:43 +02:00
edr
d1e7c1b239 optimize imports 2023-09-30 19:17:40 +02:00
edr
a52bebc8ab Update dependency type compile -> implementation 2023-09-30 19:12:10 +02:00
edr
5d2fd1fba8 Enforce client disconnect when closing monitoring view 2023-09-30 16:43:50 +02:00
edr
9ec30c33da Add AudioCompression (ulaw) 2023-09-30 16:31:35 +02:00
edr
0fc379c25b upgrade gradle 2023-09-30 13:58:23 +02:00
edr
aacadfd689 add gradle distribution checksum 2023-06-30 21:55:13 +02:00
edr
4a79fa637a v0.5 2023-06-30 18:17:59 +02:00
edr
27bbfc73b7 Update gradle 2023-06-30 18:15:47 +02:00
edr
7bd4416193 Remember last entered child device address & port 2023-06-30 17:59:45 +02:00