小编Rob*_*ert的帖子

从uri检索位图

我已经包含了"通过myApp共享"选项.我在接收活动类中插入了以下代码.

    // Get the intent that started this activity
    Intent intent = getIntent();
    Uri data = intent.getData();

    // Figure out what to do based on the intent type
    if (intent.getType().indexOf("image/") != -1) {
        // Handle intents with image data ...
}
Run Code Online (Sandbox Code Playgroud)

检索位图图像的下一步是什么?

android android-bitmap

15
推荐指数
2
解决办法
7万
查看次数

标签 统计

android ×1

android-bitmap ×1