xwords/xwords4
Eric House af37fb45f7 Rewrite BT comms to not use a Service
It's simpler this way, and I'm tired of stuff not happening because the
OS chooses not to schedule e.g. an invitation send for minutes. Goal's
to be running BluetoothServerSocket.accept() as much as possible when
there are active BT games in play OR when the game's in the foreground.
If that's happening, sent invitations and moves will be received when
users expect. When there's no traffic and app isn't being brought to
foreground, backoff will ensure I don't try to run accept() too often.

FWIW, BTLE seems to offer a better way to do this (to have an app be
responsive to incoming invitations when it hasn't run in the foreground
in a while), but it requires users to accept FINE_LOCATION
permission. I'm hoping I can make this work to avoid asking for that
permission.
2020-10-21 21:10:09 -07:00
..
android Rewrite BT comms to not use a Service 2020-10-21 21:10:09 -07:00
common Rewrite BT comms to not use a Service 2020-10-21 21:10:09 -07:00
dawg add filtering to wordlist browser 2020-08-05 09:47:44 -07:00
debian ignore debian build files 2012-01-04 18:11:29 -08:00
linux use a grid for kp dialog layout 2020-10-01 14:44:18 -07:00
newrelay beginnings of new relay: shows persistence 2017-11-05 19:24:41 -08:00
relay in log script, print sender as well as addressee 2020-09-19 22:52:21 -07:00
scripts more work on script 2014-02-26 07:52:18 -08:00
tests allow to run multiple games at once 2005-09-14 05:12:07 +00:00
Makefile include all .xml and .java files, but only if they're not named in a .gitignore file in the same directory 2014-03-01 11:44:20 -08:00