Um what? This example is at runtime... You edit text cursor can be anywhere from 0 to the length of the current text.
Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 1, 2011 at 4:48 AM, vani reddy <vani.reddy.bl...@gmail.com>wrote: > > Hi, > How to set edittext cursor to a particular position in android. > I referred > http://thedevelopersinfo.com/2009/11/15/put-cursor-at-specific-position-in-edittext-component-in-android/ > but this is when d text is already defined. i want at runtime?? > -- > Regards, > Vani > > -- > 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 -- 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