How hard did you look? While I admit the solution is a little less than
obvious all I did was search for "android EditText cursor position" and
found the answer.

http://tinyurl.com/6fcveor

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Jun 22, 2011 at 4:46 PM, Gustavo Vargas <[email protected]> wrote:

> > > Does someone can give me a tip how to do that?
> >
> > Extend EditText?
>
> I tried but the user can touch on every piece of text and then I can't
> found a way to discover where is the carret and how to move it to the
> end.
>
> Currently I'm using a TextView extension and it finally seems to work
> fine. The problem with this approach was to "translate" the scancode
> and keycode to an usefull unicode. I did this using the
> MetaKeyKeyListener's functions from inside the onKeyDown method, and
> then I append to the textview every new char I received.
>
> Thank you any way!
>
> --
> 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
>

-- 
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

Reply via email to