在JavaDoc中,启动intent时的EXTRA_STREAM参数需要是URI。 如何传递我从启动“android.provider.MediaStore.ACTION_IMAGE_CAPTURE”意图获得的Bitmap对象?
/**
* A content: URI holding a stream of data associated with the Intent,
* used with {@link #ACTION_SEND} to supply the data being sent.
*/
public static final String EXTRA_STREAM = "android.intent.extra.STREAM";
答案 0 :(得分:0)
我认为您必须将其保存到磁盘并在file:
附加内容中传递EXTRA_STREAM
URI。