WEB开发网
开发学院手机开发Symbian 开发 Symbian 3rd 开机自启动在后台运行实现 阅读

Symbian 3rd 开机自启动在后台运行实现

 2010-03-10 16:17:00 来源:WEB开发网   
核心提示:task.SendToBackground();2、An application registration file defines information about an application that is required by the application launcher or system shell

task.SendToBackground();

2、An application registration file defines information about an application that is required by the application launcher or system shell. This includes the application’s name, UID and properties. Other information required by the shell, for instance the icons and captions, is defined separately; the location of the icon/caption definitions is provided in the registration file. Before v8.1, all of this information was provided by aif files. In v8.1, both aif files and registration files are supported, but from v9.0 onwards, only registration files are supported.

Registration files

This diagram shows:

a registration file that specifies the name and location of the file (excluding extension) that defines the icons and captions, (

esourceappsAppName_loc

). By convention, the registration file has the same filename as the application, but with a

_reg

suffix. All registration files on the emulator are located in

private10003a3fapps

, on the same drive as the application.

three versions of the localisable icon/caption definition file. One of them only will be loaded, depending on the phone's language setting.

AppName_loc.rsc

is the default, meaning that it will be used if there is no version whose extension matches the current system language. By convention the icon/caption definition file has the same name as the application, but with a

_loc

suffix. Note that icon/caption information may alternatively be defined in the UI resource file, in which case an icon/caption definition file is not required.

Two icon files, whose location is specified in the the icon/caption definition file.

AppName_loc.r01

and

AppName_loc.r02

share the same icon file.

A registration file is required by every application, even if it has

上一页  1 2 3 4  下一页

Tags:Symbian rd 开机

编辑录入:coldstar [复制链接] [打 印]
赞助商链接