Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I know how to select text (in a view) using the touch screen.

Is it possible to do the same via keyboard only?

If possible, please provide a way to do this on the emulator (I need this for a programming task).

share|improve this question

migrated from stackoverflow.com Mar 8 '11 at 7:46

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 3 down vote accepted

You can indeed, just hold down the Shift key and move the cursor with the dpad/trackbal/etc.

From the comments:

The center key in the D-Pad activates the two text-selection hands, which can be moved anywhere using the D-Pad directional keys. Then, pressing the D-Pad center key again, copies the selection to the clipboard.

share|improve this answer
    
@Romain Guy Thank you. I am trying to do that on the emulator, but the moment I click the SHIFT key (with the mouse), I receive the message "Text copied to clipboard". How do I move the D-Pad cursor (on the emulator) while the SHIFT key is down? –  an00b Mar 7 '11 at 22:34
    
Use your computer's keyboard :) –  Romain Guy Mar 7 '11 at 22:51
    
@Romain Guy Thanks again. I tried that, too, but the my computer's SHIFT key isn't recognized by the emulator. What am I missing? –  an00b Mar 7 '11 at 23:00
1  
@Romain Guy Got it! I don't need to use the SHIFT key at all. :) The center key in the D-Pad activates the two text-selection hands, which can be moved anywhere using the D-Pad directional keys. Then, pressing the D-Pad center key again, copies the selection to the clipboard. Thank you!!! :) –  an00b Mar 7 '11 at 23:08
    
That last part should be in the answer :-) –  Ivo Flipse Mar 8 '11 at 9:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.