diff --git a/xwords4/android/XWords4/res/values/common_rsrc.xml b/xwords4/android/XWords4/res/values/common_rsrc.xml index 0c6b2c387..1717eb6b1 100644 --- a/xwords4/android/XWords4/res/values/common_rsrc.xml +++ b/xwords4/android/XWords4/res/values/common_rsrc.xml @@ -74,6 +74,9 @@ eehouse.org http://eehouse.org/and_dicts_hh 4.4 beta 27 + https://market.android.com/search?q=pname:org.eehouse.android.xw4 + + http://%1$s/redir.php?room=%2$s\u0026lang=%3$d diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index 250e2c471..078202b39 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -559,8 +559,7 @@ you haven\'t already? Let\'s play Crosswords Click on this link to start a game: - http://%1$s/redir.php?room=%2$s\u0026lang=%3$d. Use this link - to install Crosswords. + %1$s. (If you don\'t have Crosswords: %2$s.) Send invitation via diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameUtils.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameUtils.java index b6d2afb11..eac1df188 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameUtils.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameUtils.java @@ -381,9 +381,13 @@ public class GameUtils { intent.setType( "plain/text" ); intent.putExtra( Intent.EXTRA_SUBJECT, context.getString( R.string.invite_subject ) ); - String format = context.getString( R.string.invite_bodyf ); + + String format = context.getString( R.string.game_urlf ); String host = CommonPrefs.getDefaultRelayHost( context ); - String message = String.format( format, host, room, lang ); + String gameUrl = String.format( format, host, room, lang ); + format = context.getString( R.string.invite_bodyf ); + String appUrl = context.getString( R.string.app_market_url ); + String message = String.format( format, gameUrl, appUrl ); intent.putExtra( Intent.EXTRA_TEXT, message ); String chooserMsg = context.getString( R.string.invite_chooser );