×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    4

    How to determine S40 Touch and Type phone and keypad phone ?

    Dear all
    I'm developing an universal j2me Type and Touch & keypad phone.
    Could you show how to determine whether if phone is kind of Touch and Type or not.

    I know Object C supports function NSClassFromString to check a class exist or not. Is there any similar function in J2ME ?

    Thank you.

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: How to determine S40 Touch and Type phone and keypad phone ?

    If you are looking to find out whether your target device is of Series 40 T&T platform, you can check in the Devices specifications section https://www.developer.nokia.com/Devi...s/?filter1=s40

    If you want to find whether device is a Series 40 T&T device during runtime, you can check T&T API's are available in the device using system properties that can be retrieved by using the System.getProperty().

    For eg : com.nokia.mid.ui.frameanimator.fps efault platform value for maximum frames per second (fps). This can be used when specifying the maximum fps for a linear drag or kinetic scroll animation.
    com.nokia.mid.ui.frameanimator.pps : Default platform value for maximum pixels per second (pps). This can be used when specifying the maximum pps for a kinetic scroll animation.

    These are from FrameAnimator API http://library.developer.nokia.com/t...86BBCA6FD.html

    I have tried this with a sample app and in T&T devices, it returnd fps and pps values and in non T&T devices it returned 'null'.

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    4

    Re: How to determine S40 Touch and Type phone and keypad phone ?

    Thank balagopalks for your sollutions. This way is great but it does not work for all S60 Touch screens.
    Currently, S40 Touch and Type is limited so, there is several way to do that but i want to find out universal way to recognize all Touch devices.
    I will share it to this thread when find out.
    Thank again.

Similar Threads

  1. NOKIA C3-01 touch and type: S40 software Deficiencies
    By s.vivekananda in forum General Development Questions
    Replies: 6
    Last Post: 2011-06-21, 12:07
  2. [moved] Port app for s60 5th edition onto s40 'touch and type' device ?
    By beginner@nokia in forum Mobile Java General
    Replies: 4
    Last Post: 2011-04-11, 05:31
  3. Replies: 6
    Last Post: 2008-10-15, 07:44
  4. Replies: 2
    Last Post: 2007-07-19, 18:43

Posting Permissions

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