diff --git a/demo/src/com/androidquery/test/ActivityItem.java b/demo/src/com/androidquery/test/ActivityItem.java index cb4388a7..1926b356 100644 --- a/demo/src/com/androidquery/test/ActivityItem.java +++ b/demo/src/com/androidquery/test/ActivityItem.java @@ -7,8 +7,9 @@ public class ActivityItem { private String type; private String meta; + //this function is not perfect a link like "httpshkdh://www.google.com" can be considered as link !!! try the correction below public boolean isLink(){ - return type.startsWith("http"); + return type.startsWith("http://") || type.startsWith("https://"); }