1

In Android using Clipboard classes I can get copied data.

But Is there any way to access the Android default paste option.

So,I want display the message list (linked with paste option) which are copied in my application.So user can select multiple recently copied data and paste it. Means I want to access the android system paste option.

In Short,Whenever user trying to paste text data in any application presented in his mobile,should display pop up contains message list.

Like in below image

So,How I can do this in Android?

Anil Ravsaheb Ghodake
  • 1,587
  • 2
  • 27
  • 45
  • I just know that,one method is there related with paste option which can be override.but,I don't know that method name.Is there any method related to paste option which will be override on paste option? – Anil Ravsaheb Ghodake Nov 09 '14 at 13:09

1 Answers1

0

I think you can use Clipboardmanager like given below in code.Thanks

ClipboardManager clipboard = (ClipboardManager)
                getSystemService(Context.CLIPBOARD_SERVICE);
        clipboard.getPrimaryClip();
Piyush
  • 1,973
  • 1
  • 19
  • 30