[android-beginners] Re: How to send uppercase letter using InstrumentationTestCase.sendKeys() ?

2009-09-02 Thread Balwinder Kaur (T-Mobile USA)

Did you try KEYCODE_SHIFT_LEFT or KEYCODE_SHIFT_RIGHT ?

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Sep 1, 7:57 pm, Yasser yassersiddi...@gmail.com wrote:
 Hi,

 Using the sendKeys() function I am able to send small letters like
 sendKeys(A B C).
 How to send capital letters? I didn't find any key event for them in
 KeyEvent class.

 Is there any separate event that I have to send prior to sending a
 letter, in order to make it uppercase?

 Thanks
 Yasser
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: How to send uppercase letter using InstrumentationTestCase.sendKeys() ?

2009-09-02 Thread Yasser

Thanks Balwinder. Passing the character after SHIFT_LEFT or
SHIFT_RIGHT did the job.

Isn't there any single method which can be used to send any character
type including special? something like sendKeys(@Abc)

On Sep 2, 8:23 am, Balwinder Kaur (T-Mobile USA) balwinder.k...@t-
mobile.com wrote:
 Did you try KEYCODE_SHIFT_LEFT or KEYCODE_SHIFT_RIGHT ?

 Balwinder Kaur
 Open Source Development Center
 ·T· · ·Mobile· stick together

 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Sep 1, 7:57 pm, Yasser yassersiddi...@gmail.com wrote:



  Hi,

  Using the sendKeys() function I am able to send small letters like
  sendKeys(A B C).
  How to send capital letters? I didn't find any key event for them in
  KeyEvent class.

  Is there any separate event that I have to send prior to sending a
  letter, in order to make it uppercase?

  Thanks
  Yasser- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---