Symbian autostart) Today, we will handle the problems of self-starting and self-starting on the third edition. Taking some detours, I also lamented why many people posted on the Nokia Forum Come onCodeThere is a problem. Do you want to debug these cainiao programs. It's a little time-consuming. Let's see how to implement it. First, let's take a look at how to handle self-startup. The self-startup processing method is very simple. You only need to process a PKG file. View the PKG file content: "\ Symbian \ 9.1 \ s60_3rd_mr \ epoc32 \ release \ gcce \ urel \ teststart.exe" -"! : \ Sys \ bin \ teststart.exe ", FR, RI // you only need to add fr here. The RI identifier can be automatically started after installation. Note the following: The EXE file should be placed at the end of all resources in PKG. The preceding resources may be used after the EXE installation is complete. Zookeeper I can Is very experienced After self-starting, let's take a look at random auto-starting. 1. Create the *****. RSS resource file in the data directory. ***** indicates uid3. 2. Add the following code to the created ***. RSS resource file: # Include <startupitem. RH> Resource startup_item_info startexe { Executable_name = "! : \ Sys \ bin \ tesstart.exe "; // replace it with youProgramName Recovery =Estartupitemexpolicynone; } 3. After saving the preceding resource file, you must add the source file to the MPs project management. Sourcepath... \ data Start resource *****. RSS Header Targetpath \ resource \ apps End 4. After compilation, add the generated resources to the PKG file. "\ Symbian \ 9.1 \ s60_3rd_mr \ epoc32 \ data \ Z \ resource \ apps \ ***. RSC" -"C: \ private \ 101f875a \ import \ [*****]. RSC" Note the following: 1. It must be installed on drive C. 2. [] brackets must be used to package resource files. 3 ***** the ID must be in Section 2 After the signature is compiled and packaged, you can use The above code tests the mobile phone 6120c, n73 |