使用下面的代码,我们可以通过android上的可用服务共享照片。 任何人都可以告诉我在iPhone上分享照片的等效方式吗?提前致谢。如何分享iphone中的照片
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("image/*");
share.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+photoPath));
startActivityForResult(Intent.createChooser(share, "Share Image"), SHARE_CONSTANT);
我希望你的意思是在社交网站上分享! – mvb 2012-08-17 14:37:55