Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 09:22, 22 November 2007.

Get application icon

From Forum Nokia Wiki

Following code sample can be used to retrieve application icons

CGulIcon* CMyClass::GetApplicationIconL(const TUid& aAppUID)
{
	CFbsBitmap*	AppIcon(NULL);
	CFbsBitmap*	AppIconMsk(NULL);
	
	MAknsSkinInstance* skin = AknsUtils::SkinInstance();
		
	AknsUtils::CreateAppIconLC(skin,aAppUID,  EAknsAppIconTypeContext,AppIcon,AppIconMsk);
	CleanupStack::Pop(2);
	
	return CGulIcon::NewL(AppIcon,AppIconMsk);
}

You could get application UIDs from TApaAppInfo, which you could get for example by using the code sample shown in here

Related Discussions
Thread Thread Starter Forum Replies Last Post
App icon not displayed on 3250 truf Symbian User Interface 2 2007-07-20 23:36
How to start with Symbian/S60 (was part of "Full-duplex audio streaming problem.") ganngadhar General Symbian C++ 31 2007-01-03 03:44
stretchy icons:( :( mlegsss Themes/Carbide.ui 9 2008-06-01 01:27
gui application icon khaliloenit General Symbian C++ 2 2008-05-09 02:43
application icon in S60 3rd Holler General Symbian C++ 5 2007-04-11 20:59
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX