This page was last modified 15:54, 23 June 2008.
How to Display the Uid of Applications installed on 3.0 phones
From Forum Nokia Wiki
If you have to find out the UID of all the application installed on your 3rd edition device then here is the way to do it .
Summary
The following code will display UID of all the application installed on the phone
It use the following classes
RApaLsSession iLsSession; MAppUidObserver& iObserver; RArray<TAppInfo> iApps;
class TAppInfo { public: TInt32 iAppUid; TApaAppCaption iAppCaption; };
void CAppUidViewerEngine::AppsToUiL()
{
TApaAppInfo apaAppInfo;
TAppInfo appInfo;
iApps.Reset();
// Get info on all apps, then iterate through each app
User::LeaveIfError(iLsSession.GetAllApps());
while(iLsSession.GetNextApp(apaAppInfo) == KErrNone)
{
appInfo.iAppCaption = apaAppInfo.iCaption;
appInfo.iAppUid = apaAppInfo.iUid.iUid;
User::LeaveIfError(iApps.Append(appInfo));
}
// iObserver.AppsFoundL(iApps);
}
The above snippets will extract the UID of the application and Append it in and Array which will be passed to the view class for display
Machine UID for 3rd Edition Devices
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Opening Messaging application on specific view/account | pavarang | General Symbian C++ | 3 | 2008-05-09 22:15 |
| On few phones "Unable to install" error, usually works fine | funandmobile | General Symbian C++ | 2 | 2006-09-26 08:12 |
| Autorun Application on Installation for Nokia N80 | nital_shah | General Symbian C++ | 57 | 2008-07-08 18:14 |
| I cannot install application on my device. | ask_expert | Mobile Java General | 1 | 2002-06-18 01:31 |
| Cannot execute installed application on N73 | ranglerson | General Symbian C++ | 10 | 2008-07-31 22:20 |
