×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Is there any API to get devices version info?

    Hi,every one. Is there any API to get current device version info(3rd or 5th)?

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Is there any API to get devices version info?

    hope link will be helpful.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: Is there any API to get devices version info?

    Quote Originally Posted by wiso33 View Post
    Hi,every one. Is there any API to get current device version info(3rd or 5th)?
    Go through this link It will help you identifying platform UID of Device.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Is there any API to get devices version info?

    Quote Originally Posted by kkrish View Post
    hope link will be helpful.
    Note that Hal is not part of Symbian^3 public SDK (at least mine does not have it)

  5. #5
    Registered User
    Join Date
    Nov 2007
    Posts
    66

    Re: Is there any API to get devices version info?

    look QSystemInfo
    and you can use HAL,but hal isn't public api

  6. #6
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: Is there any API to get devices version info?

    I want to differentiate 3rd edition and 5th edition mostly, Can HAL do it?

  7. #7
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: Is there any API to get devices version info?

    Using Platform macros you can surely differentiate, of course if it suits your need:


    #ifdef __S60_50__
    //somecode
    #else
    #ifdef __SERIES60_3X__
    //somecode
    #endif
    #endif

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Is there any API to get devices version info?

    HAL can not tell the platform, only the device, so you would have to compare against all known device ID-s in order to find out the platform. And new devices would cause problems.
    Better go for the check-for-stubs way: http://www.developer.nokia.com/Commu...or_at_run_time
    The name pattern has been kept for later devices too as I know, but it is better to check. At least it is true for the SDK part, even the Symbian Belle SDK contains series60v5.0.sis - series60v5.3.sis (for comparison: Symbian^3 SDK contains only series60v5.0.sis - series60v5.2.sis).

Similar Threads

  1. How to get the bound's info in ovi map api of js version?
    By endlesswaltze in forum [Archived] Maps API for Javascript
    Replies: 7
    Last Post: 2011-12-08, 08:12
  2. Version info S60 3rd MR in .pkg file
    By Zdenko61 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-07-10, 12:59
  3. Version info S60 3rd MR
    By Zdenko61 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-07-06, 16:31
  4. Version info S60 3rd MR
    By Zdenko61 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-07-06, 16:31
  5. INFO: new version of JavaCommentPreprocessor is available
    By raydac in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-07, 05:36

Posting Permissions

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