Eric House
e2be770ca9
if the number of phone numbers sought matches the number available
...
check them all; confirm delete (since the button's enabled now from
the beginning.)
2012-04-12 22:38:42 -07:00
Eric House
31659bc514
improvements to smsinviter dialog: add explanatory empty text, dialog
...
that warns when non-mobile number being added, always check
newly-added number, etc.
2012-04-11 18:54:38 -07:00
Eric House
e703685021
add new pref controlling whether networked games have hints enabled by
...
default.
2012-04-10 07:53:39 -07:00
Eric House
90bca47e1b
query and send name with SMS invite -- same as for BT.
2012-04-10 07:26:56 -07:00
Eric House
e6c8c898fc
hide '+' button when no number text entered
2012-04-10 06:36:34 -07:00
Eric House
b98be90869
tweak sms-inviter button text for greater clarity
2012-04-10 06:36:17 -07:00
Eric House
18a781d516
add debug-prefs checkbox to turn on Toasts when SMS sent or received;
...
send on emulator too -- which works to test between two instances.
2012-03-31 08:25:43 -07:00
Eric House
0fd9e6c30f
Merge branch 'android_branch' into android_bt
2012-03-26 07:14:46 -07:00
Eric House
14a1e22c5e
remove dead strings (should cherry-pick)
2012-03-26 07:13:46 -07:00
Eric House
3b10f1593c
change "nbs" to "sms" everywhere. No other code change.
2012-03-24 12:52:35 -07:00
Eric House
7b9e835722
fix SMS games not having role/connection status messages. Use same
...
for BT and SMS, and show different messages for host and guest.
2012-03-24 12:30:01 -07:00
Eric House
fd30b25546
put up dialog when user picks contact that has no mobile number
2012-03-22 18:50:32 -07:00
Eric House
859e32e785
add field for manual number entry (and remember the number like all others)
2012-03-21 07:39:21 -07:00
Eric House
3e26bbb450
improve look of dialog, mostly by putting phone number and name on
...
separate lines.
2012-03-21 07:04:12 -07:00
Eric House
ba44f1355c
save sms-invite contacts across uses of the dialog
2012-03-21 06:54:25 -07:00
Eric House
84496b3012
get phone numbers from contacts DB: factor some of BTInviteActivity
...
into superclass that NBSInviteActivity can share and use to make their
UIs similar: fetch mobile numbers from DB one-at-a-time, keep a list
there, and let you check then delete or return. Rough, and doesn't
save state the way BT does, but works.
2012-03-21 06:17:09 -07:00
Eric House
599d01bfc7
Replace most of NBSReceiver with new NBSService. Route outgoing (from
...
comms) and incoming (from NBSReceiver) messages through it. Since
some messages are too big, add header/protocol for breaking them up
and reassemble. With this commit complete robot-vs-robot games are
possible between two very new Samsung phones on T-mobile. Older
phones and other networks not tested.
2012-03-19 07:56:55 -07:00
Eric House
8e3d8c20c1
remove temporary test sms menuitem
2012-03-19 07:39:28 -07:00
Eric House
e58747f2ec
add code to build, encode, send, receive, decode and disassemble an
...
new-game invitation. Not yet tested on device.
2012-03-14 18:13:43 -07:00
Eric House
60d91f1a21
add UI (some of it rough) to invite to play a new game via NBS and to
...
invite if a game is opened that has not been connected to yet.
2012-03-14 06:06:25 -07:00
Eric House
905be85e92
add temp menu that gets a phone number and sends an NBS message to it,
...
and modify NBSReceiver to print sender phone number and message
contents. Works for send-to-self!
2012-03-13 07:51:45 -07:00
Eric House
d96395c808
Merge branch 'android_branch' into android_bt
2012-03-12 21:21:03 -07:00
Eric House
3865a5f8c6
complete changelog
2012-03-12 19:52:35 -07:00
Eric House
cd8889f90e
Merge branch 'android_branch' into android_bt
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java
xwords4/linux/Makefile
2012-03-12 07:04:06 -07:00
Eric House
0d69c6097a
Go back to lookup dialog as dialog-themed activity. I just can't get
...
contrast right on all platforms any other way. Previous change to
using dialogs was motivated by speed, but I don't see any slowdown so
far. Will address if I find it.
2012-03-08 07:54:36 -08:00
Eric House
a2493ffa97
Merge branch 'android_branch' into android_bt
2012-03-06 07:47:05 -08:00
Eric House
6a635d1631
Go back to using a built-in list item resource. Mine was
...
white-on-white on several OS versions. Need to test further to try to
reproduce the conditions that had me trying to manage contrast myself.
Or use a dialog-themed Activity for lookup dialog -- prev checkins say
that was too slow but that might be fixable....
2012-03-06 07:41:33 -08:00
Eric House
2a8a5eb2e9
up version strings and changes list
2012-03-06 06:23:48 -08:00
Eric House
fb45ea639f
make buttons same size
2012-03-05 20:38:43 -08:00
Eric House
57a1759b69
remove empty btconfig area from game config dialog
2012-03-05 20:24:48 -08:00
Eric House
1a9b3a7c63
make helper class to provide game-name dialog, use it for renaming and
...
to query for name of BT game being created.
2012-03-01 07:57:04 -08:00
Eric House
10d2d222e5
Merge branch 'android_branch' into android_bt
2012-02-29 17:59:54 -08:00
Eric House
dcbbb26e1c
move app name out into separate file so the big one doesn't have to be
...
checked in in multiple places.
2012-02-29 17:48:31 -08:00
Eric House
36908226c1
remove ping command/menu item
2012-02-29 07:36:38 -08:00
Eric House
c1c20db6dd
add static final boolean by which to turn BT support off and change so
...
UI and background service disappear/don't run when it's off. Goal's
to ship two apps that differ in this setting, a change in Android.mk,
and little else.
2012-02-27 20:35:31 -08:00
Eric House
7644eb69cf
Merge branch 'android_branch' into android_bt
2012-02-27 19:41:04 -08:00
Eric House
213f1454fb
remove duplicate string since it's ignored anyway.
2012-02-27 19:38:27 -08:00
Eric House
34f3c38b48
Add "clear selected" button to btinviter UI that's enabled when one or
...
more is checked. On launch, get the set of known device, and on scan
do NOT start by emptying. This allows to maintain a set of devices
and still scan without losing those not present.
2012-02-25 10:43:08 -08:00
Eric House
7a21d4c151
show the giving up message as a dialog rather than a toast
2012-02-22 14:04:36 -08:00
Eric House
12de8bf38b
change button text from Ok to Invite
2012-02-22 10:37:10 -08:00
Eric House
01c86522ef
bt icons now have green and red arrows to show connectedness. Still
...
needs an artist's touch.
2012-02-22 10:34:16 -08:00
Eric House
03fcbb3ddc
comment out unused button; cache list of known local devices and use
...
that as starting point so initial scan can be skipped. When unable to
deliver a message to remote device, give up after three tries and send
message to that effect.
2012-02-22 08:02:11 -08:00
Eric House
4600ea12bf
add methods to get/set cache of known BT devices (key strings required
...
for prev commit)
2012-02-22 07:51:50 -08:00
Eric House
a6a13bcffd
add new BTEvent to tell UI that a message will be resent, and in UI
...
put up a toast naming the unavailable device. Might want a backoff on
this....
2012-02-15 18:55:58 -08:00
Eric House
1f4f6a06a8
Merge branch 'android_branch' into android_bt
...
Conflicts:
xwords4/android/XWords4/jni/xwjni.c
2012-02-15 18:18:26 -08:00
Eric House
14a3a5a7aa
Save which languages are displayed opened as an invisible preference
...
rather than in a static so it is more persistent.
2012-02-15 18:16:46 -08:00
Eric House
43dca99a2c
add preliminary text including number missing.
2012-02-10 18:44:27 -08:00
Eric House
a0134a8500
more detail in still-rough string.
2012-02-09 18:50:32 -08:00
Eric House
8fb962eaab
strings for new layout
2012-02-09 04:46:58 -08:00
Eric House
ea0893bad6
layout for replacement for BT-device chooser dialog -- so can be
...
called from other places.
2012-02-09 04:46:01 -08:00