Commit graph

143 commits

Author SHA1 Message Date
Vadim Furman
8ea58fd08c Material design for Message UI 2021-01-25 17:30:21 -08:00
Kevin Hester
7ff7686ccb less logspam for expected msgs 2021-01-08 15:19:20 +08:00
Kevin Hester
633200ac44 if we lose device connection at a bad time, don't leave UI confused (autobug) 2021-01-08 14:51:19 +08:00
Kevin Hester
8b25936732 don't warn about good things ;-) 2021-01-06 11:34:26 +08:00
Kevin Hester
1a8d1c6725 1.1.22 quick fix #207 - now that data is more uniform, only consider text packets 2020-12-16 12:24:26 +08:00
Kevin Hester
2e30dbcdd0 switching away from kotlin-android-extensions 2020-12-07 20:44:17 +08:00
Kevin Hester
cc2b99fdfc WIP for new protobufs 2020-12-07 19:50:06 +08:00
Ken Van Hoeylandt
3610f0b53e refactored MeshService
- moved MeshService start-related code to `MeshServiceStarter`
- moved `LocationCallback` to `MeshServiceLocationCallback`
  - coroutine scope is now handled in `MeshService` positio ncallback.
  - refactored `onLocationResult()` to be easier to read
- created `MeshServiceNotifications` for creating and updating of notifications
- moved `SavedSettings` to `MeshServiceSettingsData`
2020-10-01 22:20:19 +02:00
Ludovic Goix
6ec16073c1 Added a debug panel
final
2020-09-26 21:56:52 -04:00
geeksville
83ea33d44b fix a rare (probably harmless) autobug: "meshService was supposed to be null" 2020-09-22 12:52:15 -07:00
Ken Van Hoeylandt
8219ef42ed improved readability on BluetoothStateReceiver
and renamed `intent` to `intentFilter` to properly reflect type
2020-09-17 20:47:54 +02:00
geeksville
404efa926c 0.9.81 fix a ANR that could occur (I think) 2020-09-11 16:19:23 -07:00
Ludovic Goix
c87d0adc61 Connect to a device without updating any change #119 2020-09-02 20:16:41 -04:00
geeksville
bc5d6cf808 fix #86 the first message sent is duplicated bug 2020-08-12 12:48:43 -07:00
Ludovic Goix
241f4d978a Try to fix Toast not showing when notification are disabled 2020-07-23 23:12:46 -04:00
Kevin Hester
fed2615d96
Merge pull request #105 from lgoix/vmodel
Fix bad connection status #84
2020-07-18 14:30:04 -07:00
geeksville
7a47240e47 fix autobug: someone is testing crashing the app with invalid URLS ;-) 2020-07-18 13:17:30 -07:00
Ludovic Goix
4137f5e787 Fix bad connection status #84 2020-07-17 17:06:29 -04:00
geeksville
28a18ca314 Let user rate the app through google play or through amazon 2020-07-14 22:21:54 -07:00
geeksville
49752d0550 if device goes away at just the right time, user won't be able to set channel 2020-07-08 08:29:53 -07:00
geeksville
90d2a9cde4 make autobug in appRate non fatal 2020-07-08 07:50:24 -07:00
geeksville
85bdd25782 fix warning 2020-07-02 14:46:29 -07:00
geeksville
8ea949a437 fix autobug with old samsung phones 2020-07-02 09:53:52 -07:00
geeksville
c0e58391a3 Fix problem of old messages not being remembered 2020-07-01 18:00:28 -07:00
Ludovic Goix
15ae8cd2e8 Show app version in the app #5 2020-06-18 23:06:07 -04:00
geeksville
a81edbf646 Fix #37, show a Toast every time the app launches about missing permissions 2020-06-12 11:17:52 -07:00
geeksville
1523a6ad9e Merge remote-tracking branch 'root/master' 2020-06-11 11:30:43 -07:00
geeksville
cba3e85d03 Fix #38: USB host mode now fully supported
thanks @sexycyborg for the idea!
2020-06-11 11:30:29 -07:00
Ludovic Goix
672fc6f481 Add tooltip to status image icon 2020-06-10 21:50:34 -04:00
geeksville
5d9648f602 fix autobug in case device goes away at a bad time 2020-06-09 18:46:23 -07:00
geeksville
3be44439ab #38: add USB hotplug support (but android doesn't yet remember accross reboots) 2020-06-09 17:10:49 -07:00
geeksville
3661fd157e USB reading now almost works - except config_complete #38 WIP 2020-06-09 09:10:51 -07:00
geeksville
420b718b11 USB WIP 2020-06-08 14:04:56 -07:00
geeksville
6a71e6c414 0.7.0 my robotester script found a bug in my previous change!
properly map bluetooth addresses to the new transport independent address
2020-06-07 20:39:51 -07:00
geeksville
30137efc68 WIP - cleaned up BLE vs serial interface approximately works 2020-06-07 17:11:30 -07:00
geeksville
cecc369598 split out common code for USB and BLE links 2020-06-04 12:34:34 -07:00
geeksville
9254a90774 add a min appVersion check, so devices can tell user when android app needs
update
2020-06-03 16:16:51 -07:00
geeksville
0b66d813ef message status icons approximately work - still a problem on first send though 2020-05-31 11:23:25 -07:00
geeksville
7506d712ff message status updates are coded but not yet tested. 2020-05-30 19:58:36 -07:00
geeksville
6031b5eaa0 clean up message API to/from mesh service, to allow clients to get
updates on message status
2020-05-30 15:55:47 -07:00
geeksville
c1388d6bad firmware update button is kinda in 2020-05-13 17:00:23 -07:00
geeksville
407a38594f workaround for slow booting Samsung phones 2020-05-11 13:12:44 -07:00
geeksville
d669a06ed7 update protobufs 2020-04-28 18:02:01 -07:00
geeksville
bdda0c031d mark our service as very important. If the service can't run, the gui can't either 2020-04-26 12:26:08 -07:00
geeksville
ca2cae7003 Don't claim we have bluetooth access until the user grants location
permissions.  This fixes an ugly behavior when for when the user does
a from scratch install and first runs the app (and the dialog comes up
to grant access).

Previously we were starting our BLE scan for devices before that dialog
has been approved by the user, which Android doesn't return an error for
it instead just silently refuses to show devices.  If the user switched
away from the app and came back, we'd restart our scan and they could see
their device.

This fixes things so that the user doesn't have to switch away from our
app once before the devices appear.
2020-04-23 08:52:25 -07:00
geeksville
34aa4cde05 if bluetooth was disabled when we started, reattempt device connect later 2020-04-20 09:56:38 -07:00
geeksville
62a64dd782 new cleaner approach of not whacking services seems to aprox work 2020-04-20 07:46:06 -07:00
geeksville
cde3f2dec2 WIP - doesn't yet build, but changing to set the device addresses the correct way 2020-04-19 20:06:11 -07:00
geeksville
513f56f88f 0.4.5 some old phones complain about permissions they don't understand 2020-04-19 20:03:38 -07:00
geeksville
4f24794001 wix warnings 2020-04-19 16:24:47 -07:00