diff --git a/xwords4/android/XWords4-dbg/res/layout/.gitignore b/xwords4/android/XWords4-dbg/res/layout/.gitignore index 827fa9195..92d5ca39b 100644 --- a/xwords4/android/XWords4-dbg/res/layout/.gitignore +++ b/xwords4/android/XWords4-dbg/res/layout/.gitignore @@ -27,8 +27,6 @@ rename_game.xml select_dialog_item.xml confirm_sms.xml game_list_group.xml -smsinviter_item.xml -smsinviter.xml studylist.xml loc_list_item.xml loc_main.xml @@ -52,3 +50,5 @@ inviter.xml bt_buttons.xml relay_buttons.xml sms_buttons.xml +inviter_item_frame.xml +two_strs_item.xml diff --git a/xwords4/android/XWords4-dbg/src/org/eehouse/android/xw4dbg/.gitignore b/xwords4/android/XWords4-dbg/src/org/eehouse/android/xw4dbg/.gitignore index 2877127b4..c23d9ea3e 100644 --- a/xwords4/android/XWords4-dbg/src/org/eehouse/android/xw4dbg/.gitignore +++ b/xwords4/android/XWords4-dbg/src/org/eehouse/android/xw4dbg/.gitignore @@ -61,7 +61,6 @@ RelayReceiver.java RelayService.java SMSCheckBoxPreference.java SMSInviteActivity.java -SMSListItem.java SMSReceiver.java SMSService.java SelectableItem.java @@ -145,3 +144,4 @@ WiDirService.java WiDirInviteActivity.java WiDirInviteDelegate.java XWPacket.java +TwoStrsItem.java diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index dbae47a20..b864a31fb 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -1900,11 +1900,11 @@ One or more moves has arrived - Please select the device - you want to include in this game. Use the \"%2$s\" + Please check the device + you want to include in this game.\n\nUse the \"%2$s\" button if you don\'t see the device you expect. - Please select up to %1$d device[s] - you want to include in this game. Use the \"%2$s\" + Please check up to %1$d device[s] + you want to include in this game.\n\nUse the \"%2$s\" button if you don\'t see a device you expect. @@ -2649,7 +2649,7 @@ nearby device that\'s \"paired\" with yours. Use WiFi Direct to play against a - nearby WiFi Direct-capable device. + nearby WiFi Direct-capable device with Crosswords installed. Cannot find any moves 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 22b41b7a2..a5232c2a8 100644 --- a/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml +++ b/xwords4/android/XWords4/res_src/values-ba_CK/strings.xml @@ -1637,11 +1637,11 @@ Eno ro erom sevom sah devirra - Esaelp tceles eht ecived - uoy tnaw ot edulcni ni siht emag. Esu eht \"%2$s\" + Esaelp kcehc eht ecived + uoy tnaw ot edulcni ni siht emag.\n\nEsu eht \"%2$s\" nottub fi uoy nod\'t ees eht ecived uoy tcepxe. - Esaelp tceles pu ot %1$d ]s[ecived - uoy tnaw ot edulcni ni siht emag. Esu eht \"%2$s\" + Esaelp kcehc pu ot %1$d ]s[ecived + uoy tnaw ot edulcni ni siht emag.\n\nEsu eht \"%2$s\" nottub fi uoy nod\'t ees a ecived uoy tcepxe. @@ -2266,7 +2266,7 @@ Esu Htooteulb ot yalp tsniaga a ybraen ecived taht\'s \"deriap\" htiw sruoy. Esu IfIw Tcerid ot yalp tsniaga a - ybraen IfIw Elbapac-tcerid ecived. + ybraen IfIw Elbapac-tcerid ecived htiw Sdrowssorc dellatsni. Tonnac dnif yna sevom Hctamer si detimil ot nosrep-owt ,semag ta tsael rof ,won esuaceb ti\'s redrah htiw erom 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 6a21980f4..d6aa95622 100644 --- a/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml +++ b/xwords4/android/XWords4/res_src/values-ca_PS/strings.xml @@ -1637,11 +1637,11 @@ ONE OR MORE MOVES HAS ARRIVED - PLEASE SELECT THE DEVICE - YOU WANT TO INCLUDE IN THIS GAME. USE THE \"%2$s\" + PLEASE CHECK THE DEVICE + YOU WANT TO INCLUDE IN THIS GAME.\n\nUSE THE \"%2$s\" BUTTON IF YOU DON\'T SEE THE DEVICE YOU EXPECT. - PLEASE SELECT UP TO %1$d DEVICE[S] - YOU WANT TO INCLUDE IN THIS GAME. USE THE \"%2$s\" + PLEASE CHECK UP TO %1$d DEVICE[S] + YOU WANT TO INCLUDE IN THIS GAME.\n\nUSE THE \"%2$s\" BUTTON IF YOU DON\'T SEE A DEVICE YOU EXPECT. @@ -2266,7 +2266,7 @@ USE BLUETOOTH TO PLAY AGAINST A NEARBY DEVICE THAT\'S \"PAIRED\" WITH YOURS. USE WIFI DIRECT TO PLAY AGAINST A - NEARBY WIFI DIRECT-CAPABLE DEVICE. + NEARBY WIFI DIRECT-CAPABLE DEVICE WITH CROSSWORDS INSTALLED. CANNOT FIND ANY MOVES REMATCH IS LIMITED TO TWO-PERSON GAMES, AT LEAST FOR NOW, BECAUSE IT\'S HARDER WITH MORE diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/WiDirService.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/WiDirService.java index 028f05d40..c15a1469f 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/WiDirService.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/WiDirService.java @@ -1091,13 +1091,12 @@ public class WiDirService extends XWService { // After the group negotiation, we can determine the group owner. if (info.groupFormed ) { sAmGroupOwner = info.isGroupOwner; + DbgUtils.logd( TAG, "am %sgroup owner", sAmGroupOwner ? "" : "NOT " ); + DbgUtils.showf( "Joining WiFi P2p group as %s", + sAmGroupOwner ? "owner" : "guest" ); if ( info.isGroupOwner ) { - DbgUtils.showf( "Joining %s WiFi P2p group as owner", SERVICE_NAME ); - DbgUtils.logd( TAG, "am group owner" ); startAcceptThread(); } else { - DbgUtils.logd( TAG, "am NOT group owner" ); - DbgUtils.showf( "Joining %s WiFi P2p group as guest", SERVICE_NAME ); stopAcceptThread(); connectToOwner( info.groupOwnerAddress ); // The other device acts as the client. In this case,