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..
#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
2. change the mmp file to contain the following things
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
3. Create the <AppNAme>_reg.rss file
#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;
}
4. create the .mk file
5. refer the .mk file in the bld.inf.
If somebody has got any other info please add here.


Reply With Quote

