How to Display the Uid of Applications installed on 3.0 phones

in
Platforms:

An Application to display the Uid of all the application installed on the device .

This application is ported from platform 2.x to 3.0

The code for Series60 2.x can be found from forum nokia The below attached code is for 3.0

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 snipppets will extract the Uid of the application and Append it in and Array which will be passed to the view class for display

Download

AppUidViewer-2.zip
AppUidViewer-2.zip
appuidviewer.sis
appuidviewer.sis

With Regards

Bharat Uppal [email] bharatuppal@gmail.com [/email]


How to Display the Uid of Applications installed on 3.0 ph

The sis file can't be installed, you'll get only: "Certificate error, contact app. developer".

Did you sign the file?

How to Display the Uid of Applications installed on 3.0 ph

No I have not signed it u hve to sign the sis file with your certificate

with Regards Bharat Uppal

Re: How to sign a .sis file with our certificate

how do we sign a .sis file with our certificate?