I use the clipboard function to let the user copy some text out of my app into the clipboard. but now it says that the way I use the clipboard is deprecated.
Unfortunately I could not find an example how I have to use the clipboard the "new" way. I found the docs here: http://developer.android.com/guide/topics/clipboard/copy-paste.html but I already use the code: ClipboardManager clipboard = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE); and Eclipse tells me that this is deprecated. Also the "NotePad" example app is deprecated on http://developer.android.com/resources/samples/NotePad/index.html Could anyone please post me a short example how to add a String to the clipboard the "new" way? Thanks a lot in advance! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en