Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User mikkori's Avatar
    Join Date
    Jan 2012
    Posts
    9
    Is there some good way to detect if the device has a physical back key (like in Asha 501) ?
    One thing I have come up is to check that the version of Nokia UI API is 1.7 but is there some more "official" way to do this?

  2. #2
    Nokia Developer Champion traud's Avatar
    Join Date
    Mar 2003
    Posts
    3,934

  3. #3
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,917
    Quote Originally Posted by mikkori View Post
    Is there some good way to detect if the device has a physical back key (like in Asha 501) ?
    One thing I have come up is to check that the version of Nokia UI API is 1.7 but is there some more "official" way to do this?
    Yes, use system property - "com.nokia.keyboard.type"

    String keyboardType = System.getProperty("com.nokia.keyboard.type");
    if (keyboardType.equals("OnekeyBack")) --> // you have physical BackKey
    thanks,
    ~Amitabh
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

  4. #4
    Registered User mikkori's Avatar
    Join Date
    Jan 2012
    Posts
    9
    Thanks a lot!

Similar Threads

  1. How to detect hardware back key
    By Worasing in forum Mobile Java General
    Replies: 2
    Last Post: 2013-05-27, 09:23
  2. Replies: 3
    Last Post: 2011-10-31, 13:37
  3. RMS - physical file ?
    By nathviswa in forum Mobile Java General
    Replies: 6
    Last Post: 2011-01-25, 20:03
  4. How to detect if C key exists
    By OlaMontan in forum Mobile Java General
    Replies: 2
    Last Post: 2007-03-02, 08:14
  5. Back-to-back video clip playback
    By malmrose in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2005-07-22, 20:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved