Symbian autostart)

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.