I am using the Android clipboard manager and am trying to paste a line into my Android application, as mentioned in developer.android.com . I can insert a string in normal circumstances, but there is a problem in the following scenario.
Scenario:
I am copying a line from a text file. Then reboot your Android phone / device. Then I launched the application. Now in my application, clipBoard.hasPrimaryClip () returns false. Therefore, there should be no data in the clipboard. But if I open a text file or open Skype, I can insert the line that was copied before rebooting the phone / Android device.
So, how can I get the line that was copied to the clipboard before rebooting.
Ahmed arefin
source share