Results 1 to 6 of 6

Thread: [RESOLVED]how to pass control between PDA keyboard and touch screen?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    125

    Resolved [RESOLVED]how to pass control between PDA keyboard and touch screen?

    i got a PDA with camera that used to take picture. i wrote a program that users can either press touch screen button to adjust the focus, take picture or by using keyboard to do the same operation. every time if user operated with keyboard(e.g. adjust focus) and then swith to touch screen (like use the button to adjust the focus again) it works fine. but if user want to use keyboard again, then keyboard button won't work! can anybody tell me what's wrong in it?
    Last edited by scotish_bagpipe; Oct 18th, 2007 at 06:24 AM. Reason: [RESOLVED]

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: how to pass control between PDA keyboard and touch screen?

    Hi,
    what do you mean by 'the keyboard button won't work'?
    Can you not re-activate the keyboard? Does pressing a button on the keyboard have no effect?

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    125

    Re: how to pass control between PDA keyboard and touch screen?

    hi pete, it means, if you press the 'adjust focus' button from keyboard, it won't make any changes on screen. you have to use the touch screen instead . every time i rerun the program if first time i use the touch screen(there are buttons on the screen) to do some operations like adjust focus, turn the camera light on/off, turn laser on/off, it works fine(which means the camera screen can according to my press the touch screen's button to act the correct command). but if i use keyboard,(i remaped the keyboard e.g. i set PDA keypad F4 key as 'adjust focus', set F5 as 'turn lights on' etc.) nothing happens.
    and the wired thing is, when first time the program running, if you use PDA keypad to adjust focus(like press key F4 on keypad it works fine), and then if you turn to use the touch screen to ajdust the focus it still works, but if you decide back to use the PDA keypad to adjust the focus again, nothing happens. (oh actually, if you use the touch screen button to change focus, turn lights on/off it always works fine. the problem only happens on when you want to use the keypad to do the same thing instead of use touch screen.) so that's way i suspect it might be window control problem. but i don't how to solve it.
    you talk about re-active the keyboard, can you tell me how to do this ?
    many thanks
    Last edited by scotish_bagpipe; Jul 11th, 2007 at 04:21 AM.

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: how to pass control between PDA keyboard and touch screen?

    So this is your own application?
    Ae you catching the keystrokes in your program from the keyboard, and when you have used the touch-screen, the keystrokes are no longer captured? Are you using the 'hardware' button control to catch the keystrokes?

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    125

    Resolved Re: how to pass control between PDA keyboard and touch screen?

    Quote Originally Posted by petevick
    So this is your own application?
    Ae you catching the keystrokes in your program from the keyboard, and when you have used the touch-screen, the keystrokes are no longer captured? Are you using the 'hardware' button control to catch the keystrokes?

    Pete
    hi pete ,sorry seems long time didn't reply your question..but finally i get it solved ..
    actually in forms properties ->they got key preview -set key preview to true (defualt as false).. it will let you use both touch screen and keypad!
    and it works !!!

    thanks pete

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    125

    Resolved Re: how to pass control between PDA keyboard and touch screen?

    Quote Originally Posted by petevick
    So this is your own application?
    Ae you catching the keystrokes in your program from the keyboard, and when you have used the touch-screen, the keystrokes are no longer captured? Are you using the 'hardware' button control to catch the keystrokes?

    Pete
    hi pete ,sorry seems long time didn't reply your question..but finally i get it solved ..
    actually in forms properties ->they got key preview -set key preview to true (defualt as false).. it will let you use both touch screen and keypad!
    and it works !!!

    thanks pete

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width