×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    12

    I cannot start my app from the emulator with SDK S60 3rd MR

    Hello,

    I am porting an application from S60 2nd ed to s60 3rd ed. On the S60 3rd SDK, I can run my application both on the emulator and the phone, but I have some icon problems on the phone.

    To ensure these problems do not come from the SDK chain tool, I have installed the S60 3rd MR SDK. Now, I still can run my application on the phone but I get a "system error" when I try to run it from the emulator.
    The application fails after returning the UID, CreateDocumentL is not reached.

    I am using a static library containing icons and resource files. I have updated the bld.inf and removed the START BITMAP from the MMP but it still doesn't work. Any ideas ?

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    Can you try on a fresh SDK as i suspect that some how you SDK Epoc contains previous EXE which has same UID as you current app.

  3. #3
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    Hi, in SDK 3rd U need to convert all bmp file into mif or mbm or svg file by using tool, create entry in bld.inf file as "gnumakefile icons_aif.mk"
    after u make .mk file.

  4. #4
    Registered User
    Join Date
    Apr 2006
    Posts
    12

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    Yes I have already created the makefile to build the icons.

    I will completely clean the epoc dir, I have just tried an other UID for my app so far, but I still get the "system error" on the emulator.

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    If it says just "System error" then you probably don't have the "Extended panic codes" option enabled in your emulator's preferences. Check also the emulator log under %TEMP%epocwind.out

  6. #6
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    Quote Originally Posted by kis_spn
    Hi, in SDK 3rd U need to convert all bmp file into mif or mbm or svg file by using tool, create entry in bld.inf file as "gnumakefile icons_aif.mk"
    after u make .mk file.
    Commonly you make mif file which equivalent to aif file using .mk file .

  7. #7
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    Quote Originally Posted by skumar_rao
    Commonly you make mif file which equivalent to aif file using .mk file .
    Strictly speaking the mif is equivalent to mbm (both are "image" collections) while the aif contains both a resource file and a mbm.

  8. #8
    Registered User
    Join Date
    Apr 2006
    Posts
    12

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    My problem is not fixed but I have found a way to work around.

    I end up to come back on the SDK s60 3rd. I manage to make my bitmaps work on the device. In fact, I have found out that, for GCCE builds, my *.mbg and *.mbm files were not built properly using mifconv and the makefile.

    I have tried to build them in the MMP like on S60 2nd edition, and it works.
    I only build the application icon with mifconv, as its format is SVG.

    I will look at this icons problem on S60 3rd MR, later.

  9. #9
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    Is it, by chance, that you have the same file names for the svg and bitmap source files ? E.g. appName.svg and appName.bmp

  10. #10
    Registered User
    Join Date
    Apr 2006
    Posts
    12

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    Quote Originally Posted by ltomuta
    Is it, by chance, that you have the same file names for the svg and bitmap source files ? E.g. appName.svg and appName.bmp
    No, the names are different, but the problem was not about the application icon, because before using a SVG icon I was using a bmp one. The icon was correctly displayed but very pixelized, that's why I changed for a SVG one.

    I was thinking that it may be the text file I am using for listing my icons that confuses mifconv (in the documentation, they recommand to use a text file if we use more than 30 icons). When I will have some time, I will look at this.

  11. #11
    Registered User
    Join Date
    Mar 2003
    Posts
    31

    Re: I cannot start my app from the emulator with SDK S60 3rd MR

    I faced a similar problem. I created a minimal S60 GUI application, without taking the help of any IDE wizards.
    I was getting two problems, firstly, CreateDocumentL() was not being called by the AVKON framework, this problem got solved by trying on a different SDK. There after, I was getting "System Error". This problem was also solved, because I realised I was missing RESOURCE RSS_SIGNATURE { } in my application resource file.

Similar Threads

  1. Replies: 35
    Last Post: 2009-04-11, 14:36
  2. S60 3rd Edition sdk emulator cannot be started up
    By ShirleyKing in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2009-03-11, 22:30
  3. Replies: 3
    Last Post: 2007-01-25, 21:09
  4. Completely dead app on S60 3rd Edition
    By greatape in forum Symbian
    Replies: 3
    Last Post: 2006-09-29, 19:01
  5. Replies: 2
    Last Post: 2006-07-07, 06:02

Posting Permissions

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