×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    Getting mobile manufacturer and model

    Hi,

    I would like to know if my app could get the mobile manufacturer and the model for the mobile phone it is running on.

    for instance: let's say that I'm running my app on Nokia 6600. My app should display: "Nokia"; "6600"

    thanks a lot.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Tampere, Finland
    Posts
    58
    Hi,

    Use HAL:
    #include <hal.h> // link against hal.lib
    TManufacturer manufacturer;
    HAL::Get(HALData::EManufacturer,manufacturer);
    /*
    Enumeration values:
    EManufacturer_Ericsson
    EManufacturer_Motorola
    EManufacturer_Nokia
    EManufacturer_Panasonic
    EManufacturer_Psion
    EManufacturer_Intel
    EManufacturer_Cogent
    EManufacturer_Cirrus
    EManufacturer_Linkup
    EManufacturer_TexasInstruments
    */

    TInt modelUid;
    HAL::Get(HALData::EMachineUid,modelUid);
    /*
    for example:
    Nokia 3650 0x101f466a
    Nokia 7650 0x101f4fc3
    Nokia N-Gage 0x101f8c19
    Nokia N-Gage QD 0x101fb2b1
    Siemens SX1 0x101F9071
    Nokia 6600 0x101fb3dd
    Nokia 7610 0x101fb3f3
    Nokia 9500 0x101f3ee3
    Nokia 6260 0x101fb3f4
    Nokia 6630 0x101fbb55
    Nokia 6680 0x10200F99
    Nokia 3230 0x10200F97
    Nokia 6682 0x10200F9B
    Nokia 6681 0x10200F9C
    N90 0x10200F98
    N70 0x10200F9A
    */

    --
    Janne Koskinen
    jtjk@iki.fi

Posting Permissions

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