uri = uri.substring(APPConstants.RESOURCE.length());
isMedia = true;
} else if (uri.startsWith(APPConstants.ATOM)) {
uri = uri.substring(APPConstants.ATOM.length());
} else if (uri.startsWith("/tags") && (uri.length() == 5 || uri.charAt(5) == '/')) {
return new SimpleTarget(TAG_URL_TYPE, context);
} else {
return null;
}
if (uri.length() == 0) {