【发布时间】:2012-05-25 13:59:02
【问题描述】:
我有这段代码用于在 facebook 上分享一个应用程序,但是当我分享它时,它会提供正确的链接,但应用程序的图片是错误的
Button bShare = (Button) findViewById(R.id.button7);
bShare.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
final Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_TEXT, "https://play.google.com/store/apps/details?id=com.myglobaljournal.christmascarol");
startActivity(Intent.createChooser(intent, "Share with"));
【问题讨论】:
标签: android facebook share image