/** * 点击FAQ and Terms * * @param v */ public void onClickFAQTerms(View v) { /*跳转到帮助FAQ页面*/ String url = WebSiteManager.getInstance().GetWebSite().getHelpLink(); Intent intent = WebViewActivity.getIntent(mContext, url); intent.putExtra(WebViewActivity.WEB_TITLE, "Help"); startActivity(intent); }
/** * 点击Facebook * * @param v */ public void onClickFacebook(View v) { // 使用系統瀏覽器打開 String link = WebSiteManager.getInstance().GetFacebookLink(); Uri uri = Uri.parse(link); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); }