<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head>
<title>Creating an AIF File in Modifying Resources</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body>
<h2>Creating an AIF File</h2>
<p>
The AIF Definition File wizard creates a file that
specifies an AIF file to be built as part of the project. An AIF file is a
Symbian OS application information file, which describes an application's icons
and properties. For more information, see <a href="../concepts/AIFDefWizard.html">Concepts >AIF File</a>.</p>
<p class="note"><b>NOTE</b> AIF files are used only for projects created for Symbian OS versions
before v9.1.</p>
<div class="step">
<h4>
To create an AIF file</h4>
<ol>
<li>
<p>
Open the MMP file associated with the project in the Symbian Project Navigator (double-click on .mmp file or right-click and select Open).</p>
<p align="center" class="Image"><img src="projects/images/AIF_editor_mmp_symprojnav.png" width="271" height="261" /></p>
</li>
<p class="figure">Figure 1 - MMP File in Symbian Project Navigator</p>
<li>The MMP editor opens.</li>
<p align="center" class="Image"><img src="projects/images/AIF_editor_mmp_editor.png" width="581" height="383" /></p>
<p class="figure">Figure 2 - Access to AIF Editor in MMP Editor</p>
<li>
Select the Sources tab and select AIF in the Resources group.
</li>
<li>Click Add button to open the AIF editor.</li>
<p align="center"><img src="projects/images/AIF_editor.png" width="700" height="575" /></p>
<p class="figure">Figure 3 - AIF Editor</p>
<li>
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>
<li>Specify a resource file from the dropdown list or browse the filesystem.</li>
<li>Click the Add From Project or Add From Filesystem buttons to add image and mask bitmaps.</li>
<li>Set the Shared Image Properties (color depth, mask depth, and color format).</li>
<li>Select the two images (image and mask) and select Pair Image and Mask button.</li>
<li>Click Ok to create AIF file from the information you defined in the editor. </li>
</ol>
<p align="center"><img src="projects/images/AIF_editor2.png" width="700" height="575" /></p>
<p align="left" class="figure">Figure 4- AIF Editor with information defined</p>
</div>
<h5>Related concepts</h5>
<ul>
<li> <a href="../concepts/AIFDefWizard.html">AIF File</a></li>
</ul>
<h5>Related reference </h5>
<ul>
<li> <a href="../reference/AIFEditor.html">AIF Editor</a></li>
</ul>
<div id="footer">Copyright © 2009 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>
</body>
</html>