Porting an Application to S60 3rd edition
I have found that the following are the major steps in porting an Application from S60 2nd edition to S60 3rd edition.
1. Add the following lines in the Resource file..
[COLOR="Blue"]#ifdef EKA2
RESOURCE LOCALISABLE_APP_INFO r_ecomcalculator_localisable_app_info
{
short_caption = "<AppName>";
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = "<Caption>";
number_of_icons = 2;
icon_file = "resource\\apps\\<AppName>.mbm";
};
}
#endif[/COLOR]
2. change the mmp file to contain the following things
[COLOR="blue"]START RESOURCE <AppName>.rss
HEADER
TARGETPATH resource\apps
END //RESOURCE
START RESOURCE <AppName>_reg.rss
#ifdef WINSCW
TARGETPATH \private\10003a3f\apps
#else
TARGETPATH \private\10003a3f\import\apps
#endif
END //RESOURCE[/COLOR]
3. Create the <AppNAme>_reg.rss file
[COLOR="blue"]#include <appinfo.rh>
#include <EComCalculator.rsg>
UID2 KUidAppRegistrationResourceFile
UID3 0xA00001E8
RESOURCE APP_REGISTRATION_INFO
{
app_file = "<AppName>";
localisable_resource_file = "\\resource\\apps\\<AppName>";
localisable_resource_id = R_<AppName>_LOCALISABLE_APP_INFO;
embeddability = KAppNotEmbeddable;
newfile = KAppDoesNotSupportNewFile;
}[/COLOR]
4. create the .mk file
5. refer the .mk file in the bld.inf.
If somebody has got any other info please add here.
Re: Porting an Application to S60 3rd edition
Good info on the subj
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/6190aad6-3b3b-4a6a-a53a-221e61c94248/S60_Platform_Porting_from_2nd_to_3rd_Edition_v1_1_en.pdf.html[/url]