diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java index bc823efc0..288566417 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java @@ -425,7 +425,8 @@ public class Utils { public static Intent makeInstallIntent( File file ) { - Uri uri = Uri.parse( "file:/" + file.getPath() ); + String withScheme = "file://" + file.getPath(); + Uri uri = Uri.parse( withScheme ); Intent intent = new Intent( Intent.ACTION_VIEW ); intent.setDataAndType( uri, XWConstants.APK_TYPE ); intent.addFlags( Intent.FLAG_ACTIVITY_NEW_TASK );