Hi, Sorry I don't have a specific solution. The term that you are looking for is "paste" buffer. A quick search on the API documents results in this page: https://developer.android.com/guide/topics/text/copy-paste.html
One strategy to prohibit "copy" is to distribute the characters in your string in to separate text controls. I don't know if that would prohibit "copy", but it's a strategy I would investigate. The other tact would be to assign "mime type" to your text. Again, I don't know whether this would "prohibit copy", but I would investigate it. In other words, create a custom mime type that other applications won't be able to resolve. I admit, a hack, but something to consider. Hope that helps a little :) Jason On Thursday, December 27, 2012 9:38:32 PM UTC-6, monty wrote: > > my means is that no one can select the text which is inside the > edittext..but user can edit it... > example: I have field USER NAME - "india" ,if user double click or long > press in edittext to select this text "india",he should not able to do > that..but he wants to change USER NAME i.e "HelloUser"..he can do......so > edittext can be edited but no selectable. > > On Friday, December 28, 2012 6:41:34 AM UTC+5:30, TreKing wrote: >> >> On Thu, Dec 27, 2012 at 4:24 AM, monty <[email protected]> wrote: >> >>> example:- in my EditText there is a Text "HelloAndroid",so i want no >>> one can select this text. only the user can edit it. >>> >>> >> What's the point of this? >> >> >> ------------------------------------------------------------------------------------------------- >> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago >> transit tracking app for Android-powered devices >> > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

