I do it like this:
Code:
AknsUtils::CreateAppIconLC(skin,closedAppUid, EAknsAppIconTypeContext,AppIcon,AppIconMsk);
AknIconUtils::SetSize( AppIcon, TSize( 68, 73 ), EAspectRatioPreserved );
AknIconUtils::SetSize( AppIconMsk, TSize( 68, 73 ), EAspectRatioPreserved );
CleanupStack::Pop(2);
iFourthImg->SetSize(size);
iFourthImg->SetPicture(AppIcon,AppIconMsk);
It works perfectly fine with Symbian application icons, but it has capability problem with icons belonging to Java apps. The capability needed is regarding to emulator log the AllFiles one.