1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head> |
|
2 <title>Creating an AIF File in Modifying Resources</title> |
|
3 <link rel="StyleSheet" href="../../book.css" type="text/css"/> |
|
4 </head> |
|
5 <body> |
|
6 <h2>Creating an AIF File</h2> |
|
7 |
|
8 <p> |
|
9 The <b>AIF Definition File</b> wizard creates a file that |
|
10 specifies an AIF file to be built as part of the project. An AIF file is a |
|
11 Symbian OS application information file, which describes an application's icons |
|
12 and properties. For more information, see <a href="../concepts/AIFDefWizard.html">Concepts >AIF File</a>.</p> |
|
13 <p class="note"><b>NOTE</b> AIF files are used only for projects created for Symbian OS versions |
|
14 before v9.1.</p> |
|
15 <div class="step"> |
|
16 <h4> |
|
17 To create an AIF file</h4> |
|
18 <ol> |
|
19 <li> |
|
20 <p> |
|
21 Open the MMP file associated with the project in the <a href="../reference/view_sym_proj_nav.htm">Symbian Project Navigator</a> (double-click on MMP file or right-click and select <b>Open</b>).</p> |
|
22 |
|
23 <p align="center" class="Image"><img src="projects/images/AIF_editor_mmp_symprojnav.png" width="271" height="261" /></p> |
|
24 </li> |
|
25 <p class="figure">Figure 1 - MMP File in Symbian Project Navigator</p> |
|
26 <li>The MMP editor opens.</li> |
|
27 |
|
28 <p align="center" class="Image"><img src="projects/images/AIF_editor_mmp_editor.png" width="581" height="383" /></p> |
|
29 <p class="figure">Figure 2 - Access to AIF Editor in MMP Editor</p> |
|
30 <li> |
|
31 Select the Sources tab and select AIF in the Resources group. |
|
32 </li> |
|
33 <li>Click Add button to open the AIF editor.</li> |
|
34 <p align="center"><img src="projects/images/AIF_editor.png" width="700" height="575" /></p> |
|
35 <p class="figure">Figure 3 - AIF Editor</p> |
|
36 <li> |
|
37 Enter a name for the .aif file or click untitled.aif button to set a default name based on the SDK and project name.</li> |
|
38 <li>Specify a resource file from the dropdown list or browse the filesystem.</li> |
|
39 <li>Click the Add From Project or Add From Filesystem buttons to add image and mask bitmaps.</li> |
|
40 <li>Set the Shared Image Properties (color depth, mask depth, and color format).</li> |
|
41 <li>Select the two images (image and mask) and select Pair Image and Mask button.</li> |
|
42 <li>Click Ok to create AIF file from the information you defined in the editor. </li> |
|
43 </ol> |
|
44 <p align="center"><img src="projects/images/AIF_editor2.png" width="700" height="575" /></p> |
|
45 <p align="left" class="figure">Figure 4- AIF Editor with information defined</p> |
|
46 </div> |
|
47 <h5>Related concepts</h5> |
|
48 <ul> |
|
49 <li> <a href="../concepts/AIFDefWizard.html">AIF File</a></li> |
|
50 </ul> |
|
51 <h5>Related reference </h5> |
|
52 <ul> |
|
53 <li> <a href="../reference/AIFEditor.html">AIF Editor</a></li> |
|
54 </ul> |
|
55 <div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div> |
|
56 |
|
57 </body> |
|
58 </html> |
|
59 |
|