Symbian3/SDK/Source/GUID-5F749184-C804-41FC-BA81-038783BDC967.dita
changeset 0 89d6a7a84779
equal deleted inserted replaced
-1:000000000000 0:89d6a7a84779
       
     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-5F749184-C804-41FC-BA81-038783BDC967" xml:lang="en"><title>Resources</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    13 <p>In Symbian mobile application development, resource files are used for
       
    14 defining user interface components and visible text. The advantage of using
       
    15 resource files include:</p>
       
    16 <ul>
       
    17 <li><p>making source code shorter and simpler</p></li>
       
    18 <li><p>saving memory, because text is loaded only when needed</p>
       
    19 </li>
       
    20 <li><p>making it easier to implement localization to different language
       
    21 groups</p></li>
       
    22 </ul>
       
    23 <p>A key example of the use of resource files is found in the implementation
       
    24 of <xref href="GUID-F3262DF6-39CA-4E96-AD0E-C1FFDE9B0A61.dita">AVKON components</xref>.
       
    25 AVKON UI components consist of data structures that are defined in the <xref href="GUID-D76B1001-BAF5-4557-A07E-61065523ECBE.dita">resource files</xref>, and
       
    26 then are called from the classes controlling the UI implementation. When UI
       
    27 component implementation is split into these two approaches, it means that
       
    28 resources can be recompiled, for example for new languages, without having
       
    29 to recompile the application code.</p>
       
    30 <p>For more information on managing resource files, see:</p>
       
    31 <ul>
       
    32 <li><p><xref href="GUID-0FB60233-993A-4BF2-9E8C-E03AD092359B.dita">Managing
       
    33 resource files</xref></p>
       
    34 </li>
       
    35 <li><p><xref href="GUID-E111C4E8-1342-4E87-ACB4-5B630AF1501C.dita">Internationalization
       
    36 and localization</xref></p>
       
    37 </li>
       
    38 </ul>
       
    39 </conbody></concept>