Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copy image to clipboard in Android

I want to copy image to clipboard for all level of apis. For this I have found an answer from the below link

http://developer.android.com/guide/topics/text/copy-paste.html

But it does supports from api level 11. But I want to do same functionality in lower versions (less then of api level 11) also. ClipboardManager is working in all the versions but ClipData, ClipData.Item, and ClipDescription are not working in lower versions.

So is there any way to do copy image to clipboard?

And also I want to copy image from my application and paste it into another application like in compose message. Is it possible?

like image 842
Ramakrishna Avatar asked Sep 18 '12 11:09

Ramakrishna


People also ask

How do I paste and copy a picture to clipboard?

If you've put an image in the clipboard by using Ctrl+c or by right-clicking and choosing Copy or Cut, then you paste that image by using Ctrl+v or Paste in whatever location you want the copy to go.

Where are clipboard images saved on Android?

Install the Clipboard Manager app from the Play Store. Open the app. You'll find the copied items under the Clipboard section, with the most recent ones at the top.

How do I move photos to clipboard on Samsung?

Select the first item that you want to copy, and press CTRL+C. Continue copying items from the same or other files until you have collected all of the items that you want.


1 Answers

But I want to do same functionality in lower versions (less then of api level 11) also.

This is not supported, sorry.

like image 98
CommonsWare Avatar answered Oct 13 '22 00:10

CommonsWare