Hi Mark, I wrote a little site that tracks down each keypressed in a certain text box. whenever i'm accessing the site through my own PC computer at home i get an ascii code of 16 whenever i press the shift key.
However, when i access the site via my android phone and press the shift key i get nothing. as if the shift key does not exist. Any clue why? On 27 מרץ, 22:13, Mark Murphy <[email protected]> wrote: > Ziv Tatian wrote: > > Does anybody know what are the ascii codes of the shift keys on the > > android keyboard? > > AFAIK, shift keys do not have ASCII codes on any platform, let alone > Android. Rather, they modify codes of other keystrokes. > > In Android, keypresses are normally represented by KeyEvent objects, and > you can call isShiftPressed() to see if the Shift key was pressed at the > time. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

