|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-0FB60233-993A-4BF2-9E8C-E03AD092359B" xml:lang="en"><title>Managing |
|
13 resource files</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>In the Symbian platform, <xref href="GUID-5F749184-C804-41FC-BA81-038783BDC967.dita">resource</xref> files |
|
15 are used to define UI components such as status panes, <xref href="GUID-A4F3738C-CBFD-4151-9132-26FE05966715.dita">CBA |
|
16 (Control Button Area) buttons</xref>, <xref href="GUID-5918ED8A-B26B-41A0-94A6-AB6D51BF80A1.dita">menu |
|
17 bars</xref>, <xref href="GUID-DAC32BB9-C0EB-42FF-A596-C2F1A90A4BD7.dita">views</xref>, |
|
18 dialogs, strings, and constants used in applications. The UI components consist |
|
19 of data structures that are defined in resource files. These data structures |
|
20 are then invoked from the classes controlling the UI implementation. When |
|
21 UI component implementation is split into these two approaches, it means that |
|
22 resources can be recompiled, for example for new languages, without having |
|
23 to recompile the application code (unless you change the resource identifiers).</p> |
|
24 <p>This section includes the following:</p> |
|
25 <note> |
|
26 <p>For demonstration purposes, the sections on resources contain examples |
|
27 with arbitrary values. In your own code, it is recommend that you use a system |
|
28 of easy to remember value names.</p> |
|
29 </note> |
|
30 <p>For an introduction to the UI, see <xref href="GUID-0F593BE1-1220-4403-B04E-B8E8A9A49701.dita">UI concepts</xref>.</p> |
|
31 <p>For more information on resources, resource files, and their use in |
|
32 the Symbian platform, see <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/guide/System-Libraries-subsystem-guide/bafl94/InterfaceToResourceFiles/InterfaceToResourceFilesOverview.guide.html" format="application/java-archive">Resource |
|
33 Files</xref>.</p> |
|
34 <p>This section explains the following:</p> |
|
35 </conbody></concept> |