×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    153

    Add exe to the Applications app

    Hi,

    I can not see my exe file in NOKIA handset the Applications app.
    I have modified the S60.oby file and iby files, and I can find my exe name in the build image log file.

    Who can tell me why?

    Need your help!
    Thx a lot!

  2. #2
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: Add exe to the Applications app

    Hi,

    If your exe is a non-GUI program then by default it will not be shown in the Main menu, to show it you have to add two more resource files (XXXX.rsc and XXXX_reg.rsc), see the wiki article below:

    "Executing Console Applications on Devices"
    http://wiki.forum.nokia.com/index.ph...ons_on_Devices

    Regards

    Ziteng Chen

  3. #3
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    153

    Re: Add exe to the Applications app

    Thanks for your reply!
    But I have and these two files into the iby file. But no help!
    And I tried install the sisx file into the device, but failed. It prompt that "Component Series60ProductID missing". Is there any detailed instructions for build image and make sisx file?

    PS: Is there any restricted capability?

  4. #4
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: Add exe to the Applications app

    Hi,

    The XXXX_reg.rsc file doesn't require any capability.

    I suggest that you create a new GUI app project by Carbide.c++, and do the following sanity check: a .pkg file for the app will also be generated so simply build the project to generate the installation package, and then install it on target, you should be able to see the app's icon.

    Then porting your code to the new project:

    Code:
    // New GUI App's XXXXApplication.cpp
    ...
    GLDEF_C TInt E32Main()
    	{
    	// Remove the GUI framework, so now the new GUI app project becomes a pure exe program with _reg.rsc file.
    //	return EikStart::RunApplication( NewApplication );
    
    	// Move your app's E32Main implementation to here
    	...
    	}
    Of course the .mmp file maybe also modified to add libraries you need and your own cpp files. After that you can rebuild the project to generate a new installation package, then install it on the phone, you should see the same icon but this time tapping it your own code will be executed.

    Ziteng Chen

Similar Threads

  1. [moved] One SIS file can contain multi app and exe files?
    By danie78 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2009-02-16, 16:10
  2. getting event from exe app
    By reuvenb in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-10-28, 10:47
  3. Replies: 1
    Last Post: 2008-10-13, 06:57
  4. Replies: 1
    Last Post: 2007-09-22, 04:52
  5. exe app to auto start (2ed)
    By shadow-2005 in forum Symbian
    Replies: 4
    Last Post: 2007-03-27, 10:04

Posting Permissions

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