×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Jul 2006
    Location
    Irving, Texas
    Posts
    23

    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..
    #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.

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    46

    Re: Porting an Application to S60 3rd edition


Similar Threads

  1. S60 3rd edition, WSDL, WebServices anyone?
    By myohol in forum Symbian Tools & SDKs
    Replies: 21
    Last Post: 2007-06-25, 09:57
  2. Replies: 7
    Last Post: 2007-06-19, 12:01
  3. S60 3rd edition and JSR-179
    By gregatmdl in forum Mobile Java General
    Replies: 1
    Last Post: 2006-06-14, 00:24
  4. Replies: 1
    Last Post: 2006-02-05, 18:43
  5. S60 3rd edition copy installation
    By vtulai in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-12-20, 07:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×