mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
add alert explaining "just tap" when user picks nfc for sending invite
This commit is contained in:
parent
dd6aa95068
commit
56e61061be
5 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -2293,4 +2293,7 @@
|
|||
|
||||
<string name="invite_stays">(This dialog will stay up until all
|
||||
invited players have connected.)</string>
|
||||
|
||||
<string name="nfc_just_tap">To invite via NFC just touch the back
|
||||
of this device against the one you want to invite.</string>
|
||||
</resources>
|
||||
|
|
|
@ -1948,4 +1948,6 @@
|
|||
</string>
|
||||
<string name="invite_stays">sIht( golaid lliw yats pu litnu lla
|
||||
detivni sreyalp evah detcennoc.)</string>
|
||||
<string name="nfc_just_tap">Ot etivni aiv CFN tsuj hcuot eht kcab
|
||||
fo siht ecived tsniaga eht eno uoy tnaw ot etivni.</string>
|
||||
</resources>
|
||||
|
|
|
@ -1948,4 +1948,6 @@
|
|||
</string>
|
||||
<string name="invite_stays">(THIS DIALOG WILL STAY UP UNTIL ALL
|
||||
INVITED PLAYERS HAVE CONNECTED.)</string>
|
||||
<string name="nfc_just_tap">TO INVITE VIA NFC JUST TOUCH THE BACK
|
||||
OF THIS DEVICE AGAINST THE ONE YOU WANT TO INVITE.</string>
|
||||
</resources>
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue