Symbian mobile phone model

Source: Internet
Author: User

The mobile phone model can be read from the following files:

Z: esourceversionsmodel.txt

The model name is in the following format:
"Nokia 3250"

RelatedCode:

_ Partition (kfilename, "Z: \ resource \ versions \ model.txt"); \\\ rfile file; User: leaveiferror (file. open (ccoeenv: static ()-> fssession (), kfilename, efileread); cleanupclosepushl (File );
Tfiletext text;
Text. Set (File );
Tbuf16 <128> szmodelname;
User: leaveiferror (text. Read (szmodelname ));
Cleanupstack: popanddestroy (& file );

Cakninformationnote * Note = new (eleave) cakninformationnote (etrue );
Note-> executeld (szmodelname );

 

 

 

All series60 devices have a unique identifier assigned by the manufacturer-The machine uid. Therefore, you can use this UID to obtain the mobile phone model.
Common s60 Models and Their machine uid:
S60 1st edition (0.9 ):
Nokia 7650 0x101f4fc3

S60 1st edition, FP1 (1.2 ):
Nokia 3650 0x101f466a
Nokia 3660 0x101f466a
SENDO-x 0x101fa031
Siemens SX-1 0x101f9071

S60 2nd Edition:
Nokia 6600 0x101fb3dd

S60 2nd edition, FP1:
Nokia 3230 0x10200f97
Nokia 6260 0x101fb3f4
Nokia 6620 0x101f3ee3
Nokia 6670 0x101fb3f3
Nokia 7610 0x101fb3f3

S60 2nd edition, fp2:
Nokia 6630 0x101fbb55
Nokia 6680 0x10200f99
Nokia 6681 0x10200f9c
Nokia 6682 0x10200f9b

S60 2nd edition, fp3:
Nokia N70 0x10200f9a
Nokia N90 0x10200f98

Other
Nokia N-gage 0x101f8c19
Nokia N-gage QD 0x101fb2b1
You can use the following code to obtain the mobile phone model:

Void getphonemodel ()
{
Tint machineuid = 0;
HAL: Get (haldata: emachineuid, machineuid );
Switch (machineuid)
{
Case 0x101f9071:
{
// Siemens SX1
Break;
}
Case 0x101f466a:
{
// Nokia 3650
Break;
}
Case 0x101f4fc3:
{
// Nokia 7650
Break;
}
Case 0x101fb3dd:
{
// Nokia 6600
Break;
}
//......
}
}

 

 

 

The mobile phone model can be read from the following files:

Z: esourceversionsmodel.txt

The model name is in the following format:
"Nokia 3250"

Related code:

 

_ Partition (kfilename, "Z: \ resource \ versions \ model.txt"); \\\ rfile file; User: leaveiferror (file. open (ccoeenv: static ()-> fssession (), kfilename, efileread ));
Cleanupclosepushl (File );
Tfiletext text;
Text. Set (File );
Tbuf16 <128> szmodelname;
User: leaveiferror (text. Read (szmodelname ));
Cleanupstack: popanddestroy (& file );

_ Partition (kfilename, "Z: \ resource \ versions \ model.txt"); \ rfile file; User: leaveiferror (file. open (ccoeenv: static ()-> fssession (), kfilename, efileread ));
Cleanupclosepushl (File );
Tfiletext text;
Text. Set (File );
Tbuf16 <128> szmodelname;
User: leaveiferror (text. Read (szmodelname ));
Cleanupstack: popanddestroy (& file );

 

_ Partition (kfilename, "Z: \ resource \ versions \ model.txt"); \ rfile file;

User: leaveiferror (file. Open (ccoeenv: static ()-> fssession (), kfilename, efileread ));
Cleanupclosepushl (File );
Tfiletext text;
Text. Set (File );
Tbuf16 <128> szmodelname;
User: leaveiferror (text. Read (szmodelname ));
Cleanupstack: popanddestroy (& file );

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.