×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Iran - Tabriz
    Posts
    111

    device have key pad pr no ???

    Hi , how can know in j2me that the device have key pad or it`s thuch screen ???
    thanks

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: device have key pad pr no ???

    If it's touch screen, Canvas.hasPointerEvents() will return true. No way to detect the keyboard options.

    Graham.

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,085

    Re: device have key pad pr no ???

    If you dont get Canvas.hasPointerEvents() then it means that device has keyboard, but if you get it true even then you cant say that device does not have keyboard.

    And from J2me API's you can't get to know the availablity of physical keyboard or the tyep of keyboard like if its a t9 or qwerty etc and to know this the only workaround can be:

    Ping the WURFL database with the useragent of your device and fetch the device properties XML, parse that to know the keybaord details.

    thanks,
    ~Amitabh

  4. #4
    Registered User
    Join Date
    Oct 2010
    Posts
    27

    Re: device have key pad pr no ???

    thanks..........................

Similar Threads

  1. Can i get the key value from device FEP ?
    By singhrajeev in forum Symbian
    Replies: 1
    Last Post: 2008-11-05, 02:57
  2. Bluetooth Security: What exactly is an untrusted device?
    By rahulmcs in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-12-02, 06:26
  3. Key Event Issues
    By mykes in forum Symbian
    Replies: 0
    Last Post: 2003-05-01, 10:55
  4. keybindings nokia7650 and nokia6310i
    By topisystems in forum Mobile Java General
    Replies: 1
    Last Post: 2002-06-05, 14:25

Posting Permissions

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