【发布时间】:2021-02-07 20:51:20
【问题描述】:
我已包含“通过 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 ...
}
检索位图图像的下一步是什么。
【问题讨论】: