/**
* 分享
*/
private void share() {
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.str_share_web));
intent.putExtra(Intent.EXTRA_TEXT, getString(R.string.app_share_text));
startActivity(Intent.createChooser(intent, getTitle()));
}
/**
* 选择系统安装浏览器
* @param url
*/
private void chooseWebBroswer(String url) {
Intent intent= new Intent();
intent.setAction(Intent.ACTION_VIEW);
Uri content_url = Uri.parse(url);
intent.setData(content_url);
startActivity(Intent.createChooser(intent,getText(R.string.str_broswer_web)));
}