0

在 JavaDoc 中,启动意图时的 EXTRA_STREAM 参数需要是一个 URI。如何传递通过启动“android.provider.MediaStore.ACTION_IMAGE_CAPTURE”意图获得的位图对象?

/**
     * 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";
4

1 回答 1

0

我认为您必须将其保存到磁盘并额外传递一个file:URI 。EXTRA_STREAM

于 2009-08-28T03:57:07.657 回答