我实现了一个应用程序,把照片更新到我自己的服务器上。
当实现下面的代码时,我想让程序能在发送列表中显示。如何实现?
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("image/jpeg");
share.putExtra(Intent.EXTRA_STREAM, Uri.parse(FilePath));
startActivity(Intent.createChooser(share, "Share Image"));