整理安卓系統自帶分享和以..方式打開的代碼

分享文件: intent = new Intent(Intent.ACTION_SEND); intent.setType("*/*"); intent.putExtra(Intent.EXTRA_STREAM, Uri.parse(path)); startActivity(Intent.createChooser(intent, "分享到")); 分享文本: intent = new Inte
相關文章
相關標籤/搜索