Discussion Board

Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 60
  1. #16
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Quote Originally Posted by amerzannouneh View Post
    Hello Kiran,

    Thank you for your reply, actually i used this article to code my application for running during the startup ,, but it did not worked ,the mobile is starting up then go to the idle screen with out running my application,

    ok, please check the article "how to autostart an app....", point # 4, change the application UID ,, what is that mean?? i have two UID's in mmp file as follows 0x100039CE 0xe4501db0 ??

    Please help,
    Your help will be greatly appreciated,
    Leonard
    Who, that page scared me too See the new, simplified and hopefully improved version of the page: http://wiki.forum.nokia.com/index.ph...Management_API

  2. #17
    Regular Contributor amerzannouneh's Avatar
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213
    Dear Kiran,

    i dont know what to do with this problem, actually after replacing the old UID with the new UID ,,, and signing it (open signed online) and then install it on the mobile ,, through the installation process, a message appear and said that (unable to install)??

    Please i need your help,

    Regards,
    Leonard

  3. #18
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by amerzannouneh View Post
    Dear Kiran,

    i dont know what to do with this problem, actually after replacing the old UID with the new UID ,,, and signing it (open signed online) and then install it on the mobile ,, through the installation process, a message appear and said that (unable to install)??

    Please i need your help,

    Regards,
    Leonard
    And probably i know the reason. Show your .pkg file entries here.

    Kiran.
    Nokia Developer Wiki Moderation team

  4. #19
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by ltomuta View Post
    Who, that page scared me too See the new, simplified and hopefully improved version of the page: http://wiki.forum.nokia.com/index.ph...Management_API
    If i remember correctly i created that page with holy intention in my heart. I could not foresee at that time that it would scare people at some time.

    Kiran.
    Nokia Developer Wiki Moderation team

  5. #20
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    The backup file most likely )

  6. #21
    Regular Contributor amerzannouneh's Avatar
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213
    Hello itomuta,

    Thank you for your quick reply.

    i discover that in my mmp file there is :
    SECUREID 0xe4502bd0 // the old UID
    if i leave this code without replacing it with the new UID.

    the application will install without any problem , but when i trying to click on it from the application icon in user menu ,,,Nothing happened , i mean the application will never run!!!
    and like usual the application will not started at the mobile startup....

    but if i change the old UID with the new one (protected),, through the installation process the message will appear and said that (unable to install).

    really this is very strange.

    Please help, please help.

    Regards,
    Leonard

  7. #22
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Ok. So we both assumed something wrong.

    Have you really changed all the occurrence of e4502bd0 with 2001B8E8 in whole project? At how many places you found e4502bd0 in your whole project?

    Kiran.
    Nokia Developer Wiki Moderation team

  8. #23
    Regular Contributor amerzannouneh's Avatar
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213
    5 occurrences :

    2 of them in mmp file (one of them in SECUREID)
    1 in pkg file
    and 2 in AmerCE_0xe4502bd0.UID.CPP

    Regards,
    Leonard

  9. #24
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by amerzannouneh View Post
    5 occurrences :

    2 of them in mmp file (one of them in SECUREID)
    1 in pkg file
    and 2 in AmerCE_0xe4502bd0.UID.CPP

    Regards,
    Leonard
    For me:
    1) 5 in .mmp file
    2) 1 in .hrh file
    3) 3 in AppUi.cpp
    4) 2 in .hlp.hrh
    5) 2 in .cshlp
    6) 1 in ..help.xml
    7) 4 in build_help.mk
    8) 1 in .rls
    9) 2 in _reg.rss
    10) 1 in .rss
    11) 1 in Icons_scalable_dc.mk
    12) 13 in .pkg file

    Total 36 occurrences. And in spite of this lengthy list, i might be missing some of them.

    Kiran.
    Nokia Developer Wiki Moderation team

  10. #25
    Regular Contributor amerzannouneh's Avatar
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213
    ok,, i was thinking that i should change only 0xe4502bd0 not e4505bd0,, that is fine ,, that is meant that i should also change the file names consist of e4505bd0, right?

    i will make this right now, and let you know.

    Thank you,,
    Leonard

  11. #26
    Regular Contributor amerzannouneh's Avatar
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213
    Hello Kiran,

    I did all the replacement, and i install it on my mobile without any errors , and when i am trying to run it from the user menu ,, the application run successfully ,, but it is still not running at the startup!!!!!!!!

    Note: the application icon changed,

    Please help,
    Regards,
    Leonard

  12. #27
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by amerzannouneh View Post
    Hello Kiran,

    I did all the replacement, and i install it on my mobile without any errors , and when i am trying to run it from the user menu ,, the application run successfully ,, but it is still not running at the startup!!!!!!!!

    Note: the application icon changed,

    Please help,
    Regards,
    Leonard
    Show contents of your .mmp file and .pkg file.

    EDIT: And contents of Startup list Management .rss file.

    Kiran.
    Nokia Developer Wiki Moderation team

  13. #28
    Regular Contributor amerzannouneh's Avatar
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213
    mmp file:

    Code:
    /*
    ============================================================================
     Name		: AmerCE.mmp
     Author	  : Leonard
     Copyright   : Your copyright notice
    Leonard
     Description : This is the project specification file for AmerCE.
    ============================================================================
    */
    
    
    TARGET			AmerCE_0x2001B8E8.exe
    TARGETTYPE		exe
    UID		        0x100039CE  0x2001B8E8    
    
    
    START RESOURCE ..\DATA\06000001.rss
    END
    
    SOURCEPATH		..\src
    SOURCE			AmerCE.cpp
    SOURCE			AmerCEApplication.cpp
    SOURCE			AmerCEAppView.cpp
    SOURCE			AmerCEAppUi.cpp
    SOURCE			AmerCEDocument.cpp
    
    
    SOURCEPATH		..\data
    
    
    START RESOURCE	AmerCE.rss
    HEADER
    TARGET AmerCE_0x2001B8E8.rsc
    TARGETPATH resource\apps
    END //RESOURCE
    
    
    START RESOURCE	AmerCE_reg.rss
    TARGET AmerCE_0x2001B8E8_reg.rsc
    TARGETPATH 	  \private\10003a3f\apps
    END //RESOURCE
    
    
    USERINCLUDE	   ..\inc
    USERINCLUDE    ..\help
    
    
    SYSTEMINCLUDE	 \epoc32\include \
    
    
    LIBRARY		   euser.lib
    LIBRARY		   apparc.lib
    LIBRARY		   cone.lib
    LIBRARY		   eikcore.lib
    LIBRARY		   avkon.lib
    LIBRARY		   commonengine.lib
    LIBRARY		   efsrv.lib 
    LIBRARY		   estor.lib
    LIBRARY        aknnotify.lib
    LIBRARY        hlplch.lib
    LIBRARY        apmime.lib 
    LIBRARY        apgrfx.lib
    LIBRARY        efile.lib
    
    
    LANG SC
    
    
    VENDORID	  	  0
    SECUREID		  0x2001B8E8
    CAPABILITY	  	  ReadUserData
    // End of File

    pkg file:

    Code:
    ; Installation file for AmerCE application
    ;
    ; This is an auto-generated PKG file by Carbide.
    ; This file uses variables specific to Carbide builds that will not work
    ; on command-line builds. If you want to use this generated PKG file from the
    ; command-line tools you will need to modify the variables with the appropriate
    ; values: $(EPOCROOT), $(PLATFORM), $(TARGET)
    ;
    ;Language - standard language definitions
    &EN
    
    ; standard SIS file header
    #{"AmerCE"},(0x2001B8E8),1,0,0
    
    
    
    ;Localised Vendor name
    %{"Vendor-EN"}
    
    ;Unique Vendor name
    :"Vendor"
    
    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}
    
    ;Files to install
    ;You should change the source paths to match that of your environment
    ;<source> <destination>
    "E:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\release\gcce\urel\AmerCE_0x2001B8E8.exe"		-"!:\sys\bin\AmerCE_0x2001B8E8.exe"
    "E:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\Data\z\resource\apps\AmerCE_0x2001B8E8.rsc"		-"!:\resource\apps\AmerCE_0x2001B8E8.rsc"
    "E:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\Data\z\private\10003a3f\apps\AmerCE_0x2001B8E8_reg.rsc"	-"!:\private\10003a3f\import\apps\AmerCE_0x2001B8E8_reg.rsc"
    "E:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\Data\z\resource\apps\AmerCE_0x2001B8E8.mif" -"!:\resource\apps\AmerCE_0x2001B8E8.mif"
    "..\help\AmerCE_0x2001B8E8.hlp"							 -"!:\resource\help\AmerCE_0x2001B8E8.hlp"
    
    ; Add any installation notes if applicable
    ;"AmerCE.txt"		-"!:\private\2001B8E8\AmerCE.txt"
    
    
    "E:\Symbian\9.2\S60_3rd_FP1_2\Epoc32\data\06000001.rsc"-"!:\private\101f875a\import\[06000001].rsc"
    
    
    ;required for application to be covered by backup/restore facility 
    "..\sis\backup_registration.xml"		-"!:\private\2001B8E8\backup_registration.xml"

    rss file:

    Code:
    #include <startupitem.rh>
     
    RESOURCE STARTUP_ITEM_INFO amerce_0x2001b8e8
        {
        executable_name = "!:\\sys\\bin\\AmerCE_0x2001B8E8.exe";
        recovery = EStartupItemExPolicyNone;
        }




    Thanks in advance,
    Leonard

  14. #29
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    I am not sure if !: really works in startup list registration file as drive letter.
    Last edited by wizard_hu_; 2008-07-08 at 20:30. Reason: Overlooked startup-registration file changes

  15. #30
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Final changes:

    Change 06000001 with 2001B8E8(Including file name of 06000001.rss with 2001B8E8.rss).

    Kiran.
    Nokia Developer Wiki Moderation team

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 2007-06-24, 22:42
  2. Problem After Auto Start Application.
    By Tanya in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2007-06-08, 10:02
  3. Application on startup
    By silviuccia in forum Symbian C++
    Replies: 12
    Last Post: 2007-04-27, 08:58
  4. signing application
    By ktubail in forum Mobile Java General
    Replies: 1
    Last Post: 2006-08-05, 19:42
  5. Replies: 5
    Last Post: 2006-03-10, 09:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved