private WebpageObject getWebpageObj( String shareUrl, String title, String description, Bitmap mDrawable) { WebpageObject mediaObject = new WebpageObject(); mediaObject.identify = Utility.generateGUID(); mediaObject.title = title; mediaObject.description = description; mediaObject.setThumbImage(mDrawable); mediaObject.actionUrl = shareUrl; mediaObject.schema = title; mediaObject.defaultText = title; return mediaObject; }
private void handleRedirectUrl(String str) { Bundle parseUrl = Utility.parseUrl(str); String string = parseUrl.getString(h.P); String string2 = parseUrl.getString("error_code"); String string3 = parseUrl.getString(h.Q); if (string == null && string2 == null) { if (this.mListener != null) { this.mListener.onComplete(parseUrl); } } else if (this.mListener != null) { this.mListener.onWeiboException(new WeiboAuthException(string2, string, string3)); } }