Академический Документы
Профессиональный Документы
Культура Документы
My IC Phone
Table of Content 1 About this guide ...................................................................... 4
1.1 1.2 1.3 1.4 1.5 2.1 2.2 2.3 2.4 Who Should Read This Guide .......................................................................... What This Guide Tells You ............................................................................. Related Developers Guides ............................................................................ Terminology and Definitions ........................................................................... Whats New in this Version ............................................................................ File organization ........................................................................................ Default skin .............................................................................................. Total Skin ................................................................................................. Partial Skin ............................................................................................... 4 4 4 4 4 5 6 6 6
3 .File loading process ................................................................. 7 4 skin.xml descriptor file .............................................................. 8 5 Graphical Library ................................................................... 10
Page 2
Page 7
My IC Phone
Document history Edition 1 Interface Version Abstract References [1] My IC Phone Developers Guide March 2010 Initial edition
IC Touch Software Development Kit R1.0 This guide describes how to customize the My IC Phone user interface.
Copyright 2004-2010 by Alcatel-Lucent. Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. Distribution of the work or derivative of the work in any standard (paper) book form for commercial purpose is prohibited without prior permission from the copyright holder. In the interest of continued product development, Alcatel-Lucent reserves the right to make improvements to this document and the products it describes at any time without notice or obligation. All trademarks and copyrights referred to are the property of their respective owners.
Page 3
Page 7
My IC Phone
1 ABOUT THIS GUIDE
1.1 Who Should Read This Guide
This guide is for graphic designers, developers or users who wish to customize the user interface of the Alcatel-Lucent My IC Phone. The reader should be familiar with web technologies such as HTML, CSS and javascript .
Page 4
Page 7
My IC Phone
2 THE MY IC PHONE SKIN MANAGER
The skin is the visual part of a web application. It consists in a set of styles and graphical options that can drastically impact the look and feel of a user interface. A skin is typically made of cascading style sheet files (defining colors, object size and position, fonts, etc.) and images (background pictures, icons, etc.). All skins within the My IC Phone are managed by the skin manager application.
A theme usually deals with more than one web application. For each web application, the installation process will create the corresponding theme subfolder in the webApp folder and copy the package content (see also file organization details in [1]). All Rights Reserved Alcatel-Lucent 2010 My IC Phone Customization Guide
Page 5
Page 7
My IC Phone
Page 6
Page 7
My IC Phone
3 .FILE LOADING PROCESS
In order to clarify the difference between types of skin, the following diagram shows the file loading process. As an example, we load the Directory web app described in [1] that requires some css/images files.
Get an interface file
webApplication
Loading web application [WA]
Skin Manage
File manager
Get current skin informations : Total Skin [TS] Partial Skin [PS]
Total skin?
Yes
File exists?
Yes
Yes
End process
Yes
Construct file path for the Default skin (webApp/[WA]/ themes/Default/) WA : Web Application TS : Total Skin PS : Partial Skin CF : Css File End process
Page 7
Page 7
My IC Phone
4 SKIN.XML DESCRIPTOR FILE
The skin.xml file provides the following information about the skin: Name (single) Skin type (Partial/Total) Version Associated Total Skin (if partial) Webapp supported by current skin Here is an example for the Alcatel-Lucent partial Skin, which overloads the Default total skin. <?xml version="1.0" encoding="UTF-8" ?> <skin> <name>Alcatel-Lucent</name> <skintype>partial</skintype> <overloading>Default</ overloading > <version>1.0</version> <webapps> <webapp name="directory"> <file type="css"> main.css </file> <file type="images.btn"> directory.btn.removeContact.png </file> </webapp> <webapp name="homepage"> <file type="css"> main.css </file> <file type="css"> previews.css </file> <file type="images.bg"> Homepage.bg.previews.png All Rights Reserved Alcatel-Lucent 2010 My IC Phone Customization Guide
Page 8
Page 7
My IC Phone
</file> </webapp> </webapps> </descript>
Page 9
Page 7
My IC Phone
5 GRAPHICAL LIBRARY
The list, detailed description and the attributes of all the graphical objects associated with the My IC Phone user interface is available on http://developer-enterprise.alcatel-lucent.com in the IC Touch SDK section. Be sure to check online for the most recent version of the library.
END OF DOCUMENT
DEVELOPER-ENTERPRISE.ALCATEL-LUCENT.COM
Page 10
Page 7