×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    12

    Detect touch support

    Is there a way to detect does phone supports touch UI.
    I just want to use different design layout for non-touch phones.
    Target platform is Symbian S60 5th

  2. #2
    Registered User
    Join Date
    Mar 2008
    Posts
    9

    Re: Detect touch support

    Check whether Canvas.hasPointerEvents() returns true - I guess it will be the answer.

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: Detect touch support

    Hello,
    ivanavdeyev you are correct,
    public boolean hasPointerEvents()

    Checks if the platform supports pointer press and release events.

    Returns:
    true if the device supports pointer events
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  4. #4
    Registered User
    Join Date
    Sep 2009
    Posts
    12

    Re: Detect touch support

    Thanks, missed it from java docs.

  5. #5
    Registered User
    Join Date
    Feb 2010
    Posts
    6

    Smile Re: Detect touch support

    call hasPointerEvents() method
    if it return true then platform support touch events

Similar Threads

  1. How to chek the availabilioty of Touch Support
    By amitmishra19 in forum Mobile Java General
    Replies: 2
    Last Post: 2009-05-30, 22:46
  2. Clarifications/Information required about Technical Support case
    By mevasudeva in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 4
    Last Post: 2008-01-10, 13:39
  3. Technical Support Engineer, Mobile, London
    By mobile2004 in forum Symbian
    Replies: 0
    Last Post: 2004-11-05, 09:38
  4. Technical Support Engineer, Mobile, London
    By mobile2004 in forum Symbian
    Replies: 0
    Last Post: 2004-11-05, 09:33
  5. Replies: 0
    Last Post: 2004-08-25, 11:42

Posting Permissions

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