diff --git a/xwords4/android/XWords4/archive/R.java b/xwords4/android/XWords4/archive/R.java index 2121d2a3b..53fc0d697 100644 --- a/xwords4/android/XWords4/archive/R.java +++ b/xwords4/android/XWords4/archive/R.java @@ -1773,6 +1773,7 @@ public final class R { */ public static final int newgame_sms_header=0x7f050218; public static final int newgroup_label=0x7f05025e; + public static final int nfc_just_tap=0x7f0502d8; /** Title of dialog for renaming game (triggered by selecting list_item_rename) If you try to copy a networked game you get this error diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index abb65b297..f6a08b0e7 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -2293,4 +2293,7 @@ (This dialog will stay up until all invited players have connected.) + + To invite via NFC just touch the back + of this device against the one you want to invite. diff --git a/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml b/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml index abb8935c1..e8c6b74f0 100644 --- a/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml +++ b/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml @@ -1948,4 +1948,6 @@ sIht( golaid lliw yats pu litnu lla detivni sreyalp evah detcennoc.) + Ot etivni aiv CFN tsuj hcuot eht kcab + fo siht ecived tsniaga eht eno uoy tnaw ot etivni. diff --git a/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml b/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml index cd6493379..2da341f46 100644 --- a/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml +++ b/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml @@ -1948,4 +1948,6 @@ (THIS DIALOG WILL STAY UP UNTIL ALL INVITED PLAYERS HAVE CONNECTED.) + TO INVITE VIA NFC JUST TOUCH THE BACK + OF THIS DEVICE AGAINST THE ONE YOU WANT TO INVITE. diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java index 92e1f3e4c..7ae80ed0f 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java @@ -1011,6 +1011,8 @@ public class BoardDelegate extends DelegateBase case NFC: if ( ! NFCUtils.nfcAvail( m_activity )[1] ) { showDialog( DlgID.ENABLE_NFC ); + } else { + showOKOnlyDialog( R.string.nfc_just_tap ); } break; case BLUETOOTH: