×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Bangalore
    Posts
    285

    How to find the OS version number of the device at runtime

    How to find the OS version used by the device at runtime i.e whether it uses Symbian OS v9.1 or 9.2 etc..
    Right now i am able to get Model using CTelephony??
    Is there any way of finding the OS used by the device??
    Regards
    Shashi Kiran G M

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How to find the OS version number of the device at runtime

    Code:
    TVersion iOsVersion = User::Version(); // OS version
    TBuf<KSysUtilVersionTextLength> iSwVersion;
    SysUtil::GetSWVersion(iSwVersion); // Firmware version

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: How to find the OS version number of the device at runtime

    You can also try combining HAL::Get with EManufacturerSoftwareRev, EManufacturerSoftwareBuild for example.
    Also try a search for version in the Wiki: http://wiki.forum.nokia.com/index.php/Special:Search

  4. #4
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Bangalore
    Posts
    285

    Re: How to find the OS version number of the device at runtime

    The Sysutil class API suggested actually gives information not in the format i wanted. I want to know whether the device is SymbianOSv9.1 or SymbianOSv9.2 ect
    Regards
    Shashi Kiran G M

  5. #5
    Registered User
    Join Date
    May 2006
    Location
    Germany
    Posts
    598

    Re: How to find the OS version number of the device at runtime

    I wonder what User::Version returns?
    If you find out make sure you let us know I'm curious about that.
    I'm not sure that's possible at all though.

    Checkout the HAL APIs and see if one of the HALData::TAttribute returns what you want.

    I'm not even sure how to get the platform UID at run time, maybe using some RProperty key. See http://wiki.forum.nokia.com/index.ph...fication_codes

  6. #6
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: How to find the OS version number of the device at runtime

    What you actually want is the version of S60 that is running and not Symbian.
    The version of Symbian is relevant only to licencees.

    See:
    http://wiki.forum.nokia.com/index.ph...on_at_run_time
    http://wiki.forum.nokia.com/index.ph...or_at_run_time
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

Similar Threads

  1. How to find number of my Emulator?????????
    By giridharn in forum Symbian
    Replies: 3
    Last Post: 2005-04-05, 11:33
  2. retrieving the device phone number
    By white_dragon in forum Mobile Java General
    Replies: 1
    Last Post: 2004-10-05, 04:42
  3. Find Phone Number in Message View programatically. S60
    By avowkind in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-08-18, 16:23
  4. Replies: 1
    Last Post: 2004-02-12, 10:52

Posting Permissions

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