Thursday, April 03, 2008

In which files are UIDs used? (In Pre-Symbian v9.x)

UIDs have to be stored in several locations:
1. in xxxApplication.cpp file static const TUid KUidXXXApp = {0xXXXXXXXX};
2. in .pkg file Header #{”XXX”},(0xXXXXXXXX),1,05,223
3. in .mmp file UID 0×100039CE 0xXXXXXXXX
4. in iaf resource file xxxaif.rss RESOURCE AIF_DATA { app_uid=0xXXXXXXX;….}
5. when sending application to the background:

CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(CCoeEnv::Static()->WsSession(), task.WgId());
if (wgName->AppUid().iUid == 0xXXXXXXXX) //ur application uid
{
response = ETrue;
task.SendToBackground();
}

No comments:

stats counter