Commit graph

32 commits

Author SHA1 Message Date
andrekir
83dc389d6d refactor(NodeItem): replace NodeInfo with NodeEntity 2024-09-21 16:47:20 -03:00
andrekir
2f7502d5ad chore: anonymize ConfigProtos.Config logs 2024-09-19 18:17:30 -03:00
andrekir
ddad40a969 refactor: add more granular Position precision options
closes #1186
2024-08-18 08:32:20 -03:00
James Rich
1f05886873
Fix: Periodically update last heard time (#1178) 2024-08-04 07:47:48 -03:00
andrekir
bc05280988 refactor: remove Companion Device Pairing
https://developer.android.com/develop/connectivity/bluetooth/companion-device-pairing
2024-08-03 07:53:59 -03:00
andrekir
ca537becd1 fix: register Bluetooth and USB receivers using RECEIVER_EXPORTED flag
https://developer.android.com/develop/background-work/background-tasks/broadcasts#context-registered-receivers

Note from Step 4.:
"Some system broadcasts come from highly privileged apps, such as Bluetooth and telephony, that are part of the Android framework but do not run under the system's unique process ID (UID). To receive all system broadcasts, including broadcasts from highly privileged apps, flag your receiver with RECEIVER_EXPORTED."
2024-08-03 07:47:18 -03:00
andrekir
921ef709d6 refactor: use PendingIntentCompat for UsbManager 2024-07-25 18:24:03 -03:00
andrekir
e31b7d4911 chore: update targetSdk to API 34 2024-07-21 10:43:01 -03:00
andrekir
c8191a899b feat: add Chinese Traditional (zh-TW) locale and translations 2024-05-12 09:11:03 -03:00
Benjamin Faershtein
ff36b21298
fix: lastHeard 0 hour issue (#939) 2024-03-31 16:42:33 -03:00
andrekir
466fcc63fe refactor: limit message input by bytes instead of character length 2024-03-10 08:18:03 -03:00
Davis
248982d14c
Add elevation and number of GPS satellites to node info (#895)
* Move battery info to compose - always show voltage level and icons to match battery percentage
Use tool text in preview, rather than actually set text value
Simplify node info layout to avoid defining margins on everything

* Move node position to Compose

* Update hyperlink color to match previous value

* Use compose preview in layout editor

* Use compose preview in layout editor

* Add simple preview for use in layout

* Move last heard node info to Compose
Clean up layout of node info

* Move signal info to Compose and simplify bind

* Prevent long coordinates from colliding with signal info

* Move the rest of the node info card to compose
Breaks the blinking feature when navigating from chat
Wrap position to new line if overflow

* Adjust layout and text sizing to closer match original

* Use constraint layout for tighter display on busy nodes

* Construct environment metrics so that there aren't trailing spaces if current is zero

* Swap viewholder root for compose view rather than inflating layout
Fix padding lost when changing out view holder root
Intelligently update the list with only nodes that changed

* Remove unused method, and adjust replacement method to match the same decimal precisions as before

* Add elevation and number of GPS satellites to node info list
Add some extension functions for easier conversion between units and systems

* Dispose composition on recycle to avoid lingering spacing from previous layouts
Remove comments explaning adapter functionality
Remove unused methods

* Use previous string for denoting unknown node names

* Align properly if altitude but no signal info
2024-03-07 06:34:43 -03:00
andrekir
ac63e72233 fix: CompanionDeviceManager.EXTRA_DEVICE return types 2023-12-04 21:11:18 -03:00
andrekir
fcb65f0be1 refactor: improve CompanionDeviceManager handling 2023-11-29 05:55:45 -03:00
andrekir
f29d4e2309 refactor: extract Bluetooth and USB API methods to repositories 2023-11-17 08:46:54 -03:00
andrekir
0a47b8df3e refactor: handle MapView Lifecycle 2023-08-04 17:16:42 -03:00
andrekir
49617d2e19 fix: calculate download BoundingBox based on zoom factor
instead of calling `setZoom()` before/after `MapView.boundingBox` which can get out of sync and cause inconsistencies in the tile count.
fixes #670
2023-07-27 05:56:59 -03:00
andrekir
04e8a6a514 feat: add wake lock to map screen 2023-07-15 09:38:41 -03:00
andrekir
2c6b35dbdf fix: revert zoomToNodes removal
revert https://github.com/meshtastic/Meshtastic-Android/pull/647/commits/4412a5d5aa6752c9bc1c71084c8570f6efea0df1
2023-07-08 07:22:23 -03:00
Andre K
d4879ceea9
refactor: migrate MapFragment to Composable (#647) 2023-06-24 07:58:01 -03:00
andrekir
379da332e1 fix: remove CompanionDeviceManagerCompat extension 2023-06-18 17:39:04 -03:00
Andre K
271124dc9c
refactor: implement CompatExtensions (#641)
updates deprecated methods, classes, and flags introduced in Android SDK 33, while ensuring compatibility with previous Android versions
2023-05-30 18:30:46 -03:00
Garrett M
eec87422b0
closes #580 use "min" instead of "m" for minutes (#609) 2023-04-03 18:35:43 -03:00
andrekir
5a28649a08 refactor: consolidate extensions 2023-03-02 21:37:04 -03:00
andrekir
71c7aca10b refactor: clean up theme and language pickers 2023-01-26 23:02:44 -03:00
andrekir
08ec7dfef1 clean up language tags parser 2022-12-12 21:51:15 -03:00
Andre K
c9a81c72e0
update in-app language picker (#538) 2022-12-10 11:03:14 -03:00
PWRxPSYCHO
ee388db491 Clear cache based on tile source 2022-10-19 09:36:16 -04:00
andrekir
5382fdae49 update for proto changes 2022-09-18 18:35:13 -03:00
andrekir
5eb5cd1421 incorporate androidlib 2022-09-04 22:52:40 -03:00
andrekir
5d95017efa add osm map features 2022-08-30 17:25:11 -03:00
andrekir
2389c222a0 move LocationUtils into utils 2022-05-20 11:20:13 -03:00