×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Menu: System Error (-1)

    Hi all,
    I am porting Symbian Application from v8+ to v9. As with my previous Exp in port to v9. i am successfully compiled and installed this application on Phone.

    But when i try to Launch the Application using the Icon It Gives Error as Below

    Menu: System Error (-1).

    If i am not wrong then this error occurs when Menu {Symbian Application Launcher} failed to find / launch any resource.

    But when i checked all resources are in place.

    Can anybody please give me any resource where i can find about this types of Errors.

    Thanks in advance
    Sunil Kumar

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,686

    Re: Menu: System Error (-1)

    You might give us a chance by posting the contents of your .pkg file as a first attempt.

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

    Re: Menu: System Error (-1)

    Thanks for the Reply.

    Here is the PKG file Content.

    ;Languages
    &EN

    ;Header ,TYPE=SA
    #{"Registration"},(0xE01FF1CF),1,0,0, TYPE=SA

    ;Localised Vendor name
    %{"My Company"}

    ;Unique Vendor name
    :"My Company"

    ;Supports S60 v 3.0
    [0x101F7961], 0, 0, 0, {"S60ProductID"}

    "C:\Symbian\9.1\S60_3rd\Epoc32\release\armv5\urel\TestApp.exe"-"!:\sys\bin\TestApp.exe"
    "C:\Symbian\9.1\S60_3rd\Epoc32\release\armv5\urel\ActionLibrary.dll"-"!:\sys\bin\ActionLibrary.dll"
    "C:\Symbian\9.1\S60_3rd\Epoc32\release\ARMv5\urel\TestAppCommon.dll"-"!:\sys\bin\TestAppCommon.dll"
    "C:\Symbian\9.1\S60_3rd\Epoc32\release\ARMv5\urel\XmlParser.dll"-"!:\sys\bin\XmlParser.dll"
    "C:\Symbian\9.1\S60_3rd\Epoc32\release\ARMv5\urel\DataBaseManager.dll"-"!:\sys\bin\DataBaseManager.dll"
    "C:\Symbian\9.1\S60_3rd\Epoc32\release\ARMv5\urel\Installer.dll"-"!:\sys\bin\Installer.dll"

    "C:\Symbian\9.1\S60_3rd\Epoc32\Data\z\private\0xA000247A\apps\TestApp.rsc"-"!:\resource\apps\TestApp.rsc"
    "C:\Symbian\9.1\S60_3rd\Epoc32\Data\z\private\0xA000247A\apps\TestApp_caption.rsc"-"!:\resource\apps\TestApp_caption.rsc"
    "C:\Symbian\9.1\S60_3rd\Epoc32\Data\z\resource\apps\TestApp.mif"-"!:\resource\apps\TestApp.mif"
    "C:\Symbian\9.1\S60_3rd\Epoc32\Data\z\resource\apps\TestApp.mbm"-"!:\resource\apps\TestApp.mbm"
    "C:\Symbian\9.1\S60_3rd\Epoc32\Data\z\private\10003a3f\apps\TestApp_reg.rsc"-"!:\private\10003a3f\import\apps\TestApp_reg.rsc"

    "C:\Symbian\9.1\S60_3rd\Epoc32\Data\z\resource\apps\color.mbm"-"!:\resource\apps\affle\images\color.mbm"

    If you can point what is the Problem

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,686

    Re: Menu: System Error (-1)

    It seems to be OK. What is in the registration file? If you have localisable app info and other magics, you might want to try a minimal approach:
    Code:
    #include <appinfo.rh>
    
    UID2 KUidAppRegistrationResourceFile
    UID3 0xA000247A
    
    RESOURCE APP_REGISTRATION_INFO
    {
        app_file="TestApp";
    }
    the UID3 line is just a guess of course.

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

    Re: Menu: System Error (-1)

    Here is my registration file.


    #include <appinfo.rh>
    #include <TestApp.rsg>

    UID2 KUidAppRegistrationResourceFile
    UID3 0xA000247A

    RESOURCE APP_REGISTRATION_INFO
    {
    app_file="TestApp";
    localisable_resource_file="\\resource\\apps\\TestApp";
    }

    Is there anything Wrong with the File. Please Let me know

    Thanks

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,686

    Re: Menu: System Error (-1)

    Try commenting the localisable_resource_file-line. Your fancy-stuff will disappear, but the app might start.

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

    Re: Menu: System Error (-1)

    Thanks for the prompt reply but it Does not help.

  8. #8
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    Re: Menu: System Error (-1)

    Does it work on emulator?

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

    Re: Menu: System Error (-1)

    Thanks to all,
    I Solved this with all your help.
    The PKG File Missed One dll file.

    Thanks Again

  10. #10
    Registered User
    Join Date
    Feb 2007
    Posts
    8

    Unhappy help for log fle creation

    hello can u help me wit log file creation for text content of msg`s

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

    Re: Menu: System Error (-1)

    yes i will but please create a new thread.

Similar Threads

  1. slide menu in j2me
    By afka in forum Mobile Java General
    Replies: 4
    Last Post: 2006-09-04, 09:10
  2. customise system options menu
    By binubabykurian in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-05-22, 13:18
  3. Substitute the system menu
    By acaldasa in forum Symbian
    Replies: 0
    Last Post: 2006-03-13, 13:08
  4. System Help with nokia pc connectivity SDK
    By gotka in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2004-07-06, 09:56

Posting Permissions

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