From b6bd9ad5b8dff0ceeec7255ae6ace3d42a0358e6 Mon Sep 17 00:00:00 2001 From: macdonst Date: Wed, 5 Jan 2011 02:56:46 +0800 Subject: [PATCH] Support Market Uri --- framework/src/com/phonegap/DroidGap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/com/phonegap/DroidGap.java b/framework/src/com/phonegap/DroidGap.java index a7387a27..1bde16e9 100755 --- a/framework/src/com/phonegap/DroidGap.java +++ b/framework/src/com/phonegap/DroidGap.java @@ -902,7 +902,7 @@ public class DroidGap extends PhonegapActivity { } // If http, https or file - else if (url.startsWith("http://") || url.startsWith("https://") || url.startsWith("file://")) { + else if (url.startsWith("http://") || url.startsWith("https://") || url.startsWith("file://") || url.startsWith("market://")) { int i = url.lastIndexOf('/'); String newBaseUrl = url;