Eric House
c2a87c187d
as a DEBUG-only feature, enable "send" of NFC to self to better
...
duplicate on a single device how real devices are meant to be
inviting.
2015-02-04 22:15:20 -08:00
Eric House
019d9987c7
fix bug where email didn't get launched when the only choice
2015-02-04 21:50:23 -08:00
Eric House
2c7469f228
emphasize button by centering it rather than making it green, since
...
color replacing a drawable looks like crap and the ways of doing it
right are too complicated and may not look good on all devices/OS
versions.
2015-02-04 07:21:17 -08:00
Eric House
cb40600293
cleanup -- no code changes
2015-02-04 07:07:23 -08:00
Eric House
11c8c01c7b
remove dead code
2015-02-04 06:59:15 -08:00
Eric House
3b41752382
show no conn options as a localizable, non-empty string rather than
...
empty string
2015-02-03 22:23:11 -08:00
Eric House
e0a337ff4c
deal with case where user removes existing game's ability to connect:
...
refuse to save until something's put back
2015-02-03 22:11:13 -08:00
Eric House
c55bba5aab
for game config replace onKeyDown() with onBackPressed() since only
...
one key was handled.
2015-02-03 21:49:33 -08:00
Eric House
5e6bb507b7
shift responsibility for deleting new game when config activity is
...
cancelled from games list to config activity. Fixes race condition
that on emulator, and less often on device, left a game highlighted
after config was cancelled that should have been deleted.
2015-02-03 21:43:28 -08:00
Eric House
35525d62a4
give newgame alert an icon to remind folks what's up.
2015-02-03 19:16:37 -08:00
Eric House
46c361028e
move config of ConnViaViewLayout to prepareDialog() so checkboxes get
...
reset each time, fixing problem of checks sticking across invocations.
2015-02-03 07:45:12 -08:00
Eric House
70545eb3f2
more fixing assuming a connection-means-less game is solo
2015-02-01 22:54:15 -08:00
Eric House
e383d9c7ad
show the multi-game icon for multi-games even if they have no conn
...
options set.
2015-02-01 22:31:03 -08:00
Eric House
8abe7720c8
don't allow saving/playing a multi-divice game that doesn't have at
...
least one way of connecting. Instead, give a choice between discarding
it and editing, and if the latter choice it taken open the alert for
picking ways to connect. Requires a new version of showConfirmThen()
that lets the negative button be other than "Cancel".
2015-02-01 22:15:06 -08:00
Eric House
02da56ce9c
add populate() that can be called to add defaults when new type is added
2015-02-01 19:55:06 -08:00
Eric House
4bd15c072b
add isFinishing() to base class
2015-02-01 19:51:32 -08:00
Eric House
46c4cc0669
warn when user disables all communication options in prefs
2015-01-31 23:17:13 -08:00
Eric House
5d58c09120
remove must-invite alert when game connects
2015-01-28 06:17:27 -08:00
Eric House
0972e07b4e
give download button a green background for greater visibility
2015-01-27 21:42:42 -08:00
Eric House
a4842bdaab
just hide the "hide title" pref on devices where it's a no-op --
...
rather than explain to a user why his action is being ignored
2015-01-27 21:40:22 -08:00
Eric House
1b6f0de8e6
inset checkbox for better visibility
2015-01-27 08:24:06 -08:00
Eric House
fb13c949e8
re-enable ActionPairs stuff now that an additional button works/fits.
2015-01-27 08:14:06 -08:00
Eric House
5cece9f3cc
Merge remote-tracking branch 'sf/android_branch' into android_multi2
...
Conflicts:
xwords4/android/XWords4/archive/R.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java
2015-01-27 07:53:42 -08:00
Eric House
828b620c44
make "do not show again" a checkbox instead of a button -- requires a
...
trivial custom view.
2015-01-27 07:46:18 -08:00
Eric House
41a2655248
move newbie hint about hiding newgame buttons to the buttons
...
themselves, and disable third button because it isn't shown on the
devices I'm testing on. Not sure why. Tweak text to make sense in that
context.
2015-01-27 07:11:49 -08:00
Eric House
8044fb0fc7
exit board when invite alert cancelled
2015-01-26 07:25:46 -08:00
Eric House
5f5e35e885
hide (the right way) play-via-sms preference on non-gsm phones
2015-01-26 07:06:43 -08:00
Eric House
74ce8116ea
don't allow to enable SMS or BT if the feature's off on the phone, and
...
warn via an alert (varies by whether in prefs or game config) in that case.
2015-01-25 17:40:23 -08:00
Eric House
2c5cf9da39
move conn-via set manipulation into a custom view prefs and game
...
config can both use.
2015-01-25 16:14:34 -08:00
Eric House
c506805235
show SMS and BT as connect-via options only when available on the
...
device -- which for SMS means it's a GSM phone.
2015-01-25 15:18:20 -08:00
Eric House
b3f1b6ae3e
hide SMS as invite option (for now)
2015-01-25 15:17:49 -08:00
Eric House
b851427fd9
tweak string
2015-01-25 15:17:28 -08:00
Eric House
2710ef7243
turn off invite via SMS (for now)
2015-01-25 14:00:03 -08:00
Eric House
f983e477a2
remove all code for sending and receiving non-data SMS. The plan is
...
that SMS will only be supported for GSM phones from here out (unless
Google figure out how to make the Data SMS APIs work on CDMA devices.)
2015-01-25 13:56:33 -08:00
Eric House
1ec5df0914
fix so button is correctly enabled from the start
2015-01-24 21:55:44 -08:00
Eric House
9806b01d6b
get rid of send-invitation menuitem, since it's never there unless
...
there's a dialog in front of the board forcing you to send an
invitation.
2015-01-24 16:32:11 -08:00
Eric House
b8ff064819
turn another set of constants into an enum: no code change
2015-01-24 16:20:13 -08:00
Eric House
bd55ed025e
fix handling bt invitations when the wordlist specified is missing
2015-01-24 15:59:36 -08:00
Eric House
9031885eb0
fix duplicate NFC invites being accepted (but not working to create
...
usable games) by fixing broken query used by getMostRecentCreate()
2015-01-24 14:59:15 -08:00
Eric House
56e61061be
add alert explaining "just tap" when user picks nfc for sending invite
2015-01-24 14:29:49 -08:00
Eric House
dd6aa95068
force invite alert to stay up as long as a host has players missing.
2015-01-24 14:18:30 -08:00
Eric House
445d44e773
import child class to cut a few characters from file -- no code change
2015-01-24 13:48:03 -08:00
Eric House
da374db1bc
fix progress alert thinging being left after BT invites accepted in
...
case where more than one device being invited. Really should
incorporate progress into the dialog showing missing players, but this
is better than before.
2015-01-24 13:22:51 -08:00
Eric House
f87dd30bd6
don't create new using-defaults game is if from a received invitation
2015-01-24 13:07:52 -08:00
Eric House
17f4e35bf4
tweak wording
2015-01-24 12:57:42 -08:00
Eric House
b2781afeb3
offer to hide newgame buttons via augmented showNotAgainDlgThen shown
...
when player has five or more games in list.
2015-01-24 12:47:22 -08:00
Eric House
3a1e091852
fix crash on receiving end: inviteID is optional
2015-01-24 11:26:48 -08:00
Eric House
95f761d664
cleanup for better logging, including replacing constants with an enum
2015-01-24 11:01:50 -08:00
Eric House
027cd319e6
Merge branch 'android_branch' into android_multi2
...
Conflicts:
xwords4/android/XWords4/archive/R.java
2015-01-24 10:10:10 -08:00
Eric House
4067f0c3fc
merge android_branch -> android_multi2
2015-01-24 10:04:12 -08:00