从剪贴板复制的图像剪贴板、图像

2023-09-04 05:23:37 作者:泪湿ベ回忆つ

我想这是从厨房到我的app.Means复制的图像会出现在我想要得到的图像谁能帮助我剪贴板中的图像。

I want to get an image which is copied from the galley to my app.Means the image will be there in the clipboard I want to get that image can anyone help me.

我需要从剪贴板复制图像  我不直接从库中想要的。

I need to copy the image from the clipboard and I don't want it directly from the gallery.

推荐答案

我觉得这是接近你要来获得图库图片到你的应用程序...

I think this is as close as you're going to come to getting Gallery images into your app...

http://eggie5.com/8-hook-share-图片 - 通过菜单 - 安卓

本文通过如下一路图像的HTTP发送,但很明显,你可以收集它作为一个byte [],然后做任何你以后想做的事情。

The article follows through all the way to an HTTP send of the image, but obviously you can just collect it as a byte[], and then do whatever you want with it after that.

这不是一个复制/粘贴,但是这只是没有那么Android提供了在这方面的机制,所以,我会做什么,我可以用这个解决方案。

It's not a copy/paste, but that's just not a mechanism that Android offers in this context, so, I'd do what I could with this solution.