• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            引用自:http://www.sf.org.cn/Article/symbiandev/200511/3239.html

            利用symbianAPI得到手機型號


            利用symbianAPI得到手機型號

            問 :困擾我很久的一個問題,在symbianapi里面,就找到一個HAL類,可以返回一些定義好的enum,但也只是廠商等等,搞不懂symbian為什么要返回enum,為什么不返回一個字符串?廠商在制定的時候加進去就是了。
            但是型號確始終得不到,請問大家有沒有什么方法來得到型號(比如要得到7610

            答:

            事例:

            from Forum_Nokia_Technical_Library_v1_8_en.chm

            Fetching device model information
            +-------------------------------------------------------------------------+
            |Subject      |How can I fetch device model information                   |
            +-------------+-------------------------------+---------------------------+
            |             |Platform(s)                    |Device(s), SW version(s)   |
            +             +-------------------------------+---------------------------+
            |             |Series 60 Platform 1st Edition |N/A                        |
            |             |Series 60 Platform 2st Edition |                           |
            +-------------+-------------------------------+---------------------------+
            |Category     |Symbian C++                                                |
            +-------------+-----------------------------------------------------------+
            |Subcategory  |General                                                    |
            +-------------+-----------------------------------------------------------+
            |Description  |In Symbian OS phones the machine UID is unique for each    |
            |             | device type. Unfortunately the UID can be same for device |
            |             |variants, such as Communicator variants (Nokia 9210, Nokia |
            |             |9210i, Nokia 9290, and Nokia 9210c), and the UID cannot be |
            |             |used to distinguish between exact device models. The       |
            |             |Symbian machine UID can be retrieved with the HAL::Get()   |
            |             |method, using HALData::EMachineUid as a parameter.         |
            |             |                                                           |
            |             |#include <hal.h>  // also link to hal.lib                  |
            |             |                                                           |
            |             |TInt mUid = 0;                                             |
            |             |                                                           |
            |             |HAL::Get(HALData::EMachineUid, mUid);                      |
            |             |                                                           |
            |             |For example:                                               |
            |             |                                                           |
            |             | 3650        0x101f466a                                    |
            |             | 7650        0x101f4fc3                                    |
            |             | N-Gage      0x101f8c19                                    |
            |             | N-Gage QD   0x101fb2b1                                    |
            |             | Siemens SX1 0x101F9071                                    |
            |             | 6600        0x101fb3dd                                    |
            |             | 7610        0x101fb3f3                                    |
            |             | 9500        0x101f3ee3                                    |
            |             | 6260        0x101fb3f4                                    |
            |             | 6630        0x101fbb55                                    |
            |             | 6680        0x10200F99                                    |
            |             | 3230        0x10200F97                                    |
            |             | 6682        0x10200F9B                                    |
            |             | 6681        0x10200F9C                                    |
            |             | N90         0x10200F98                                    |
            |             |                                                           |
            |             |Check the document Series 60 Platform Identification Code  |
            |             |available at http://www.forum.nokia.com for a list of      |
            |             |machine UIDs.                                              |
            +-------------+-----------------------------------------------------------+
            |Creation date|May 24, 2005                                               |
            +-------------+-----------------------------------------------------------+
            |Last modified|                                                           |
            +-------------------------------------------------------------------------+

             

            posted on 2006-02-25 04:37 移動開發 閱讀(612) 評論(0)  編輯 收藏 引用
             
            99国产欧美久久久精品蜜芽| 久久91精品久久91综合| 久久AⅤ人妻少妇嫩草影院| 亚洲乱码日产精品a级毛片久久| 久久久久亚洲精品无码蜜桃| 国产成人久久777777| 久久人人妻人人爽人人爽| 亚洲伊人久久大香线蕉苏妲己| 久久久一本精品99久久精品66| 亚洲国产精品人久久| 久久久久久久波多野结衣高潮| 日本一区精品久久久久影院| 久久综合亚洲欧美成人| 久久久久久久久久久精品尤物| 狠狠色婷婷综合天天久久丁香| 一本色道久久综合狠狠躁篇| 久久久青草久久久青草| 久久久久久综合网天天| 久久久久国产亚洲AV麻豆| 嫩草影院久久99| 久久精品欧美日韩精品| 亚洲va中文字幕无码久久| 77777亚洲午夜久久多喷| 99久久这里只精品国产免费| 亚洲乱码日产精品a级毛片久久 | 欧洲性大片xxxxx久久久| 精品久久久久久国产| 狠狠色狠狠色综合久久| 中文字幕精品久久| 久久这里都是精品| 亚洲中文字幕无码久久综合网| 久久亚洲中文字幕精品一区四| 久久久久久久97| 伊人久久无码中文字幕| 亚洲国产欧美国产综合久久| 偷偷做久久久久网站| 久久人人爽人人爽人人片av麻烦| 18禁黄久久久AAA片| 久久国产免费直播| 欧美精品久久久久久久自慰| 人妻无码αv中文字幕久久|