Nokia: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with '== Links == * [http://www.forum.nokia.com/Tools_Docs_and_Code/ Forum Nokia - Tools, Docs & Code] * [http://www.forum.nokia.com/devices/5310_XpressMusic/ Nokia Forum -- Nokia 531…')
 
Line 10: Line 10:
* Theme file description is contained within an ''xml'' file.
* Theme file description is contained within an ''xml'' file.
* An old version of the '''DTD''' [http://discussion.forum.nokia.com/forum/showthread.php?t=112634 here] (as per Nokia S40 Theme Studio 2.1).
* An old version of the '''DTD''' [http://discussion.forum.nokia.com/forum/showthread.php?t=112634 here] (as per Nokia S40 Theme Studio 2.1).
* Example of a theme file (from [http://www.ipmart-forum.com/archive/index.php/t-97577.html])
<pre>
<theme name="template" version="2.0">
<colors
active_idle_active_font_color="0xffffff"
active_idle_content_background_color="0xffffff"
calendar_highlight_color="0xffffff"
display="main"
forms_selected_color="0xffffff"
forms_selected_font_color="0xffffff"
forms_unselected_color="0xffffff"
forms_unselected_font_color="0xffffff"
grid_menu_font_color="0xffffff"
grid_menu_highlight_font_color="0xffffff"
header_font_color="0xffffff"
idle_font_color="0xffffff"
idle_font_outline_color="0xffffff"
idle_softkey_area_font_color="0xffffff"
idle_status_area_font_color="0xffffff"
menu_font_color="0xffffff"
menu_highlight_font_color="0xffffff"
shortcut_bar_popup_background_color="0xffffff"
shortcut_bar_popup_font_color="0xffffff"
softkey_font_color="0xffffff"
status_area_font_color="0xffffff"/>
<colors
active_idle_active_font_color="0xffffff"
active_idle_content_background_color="0xffffff"
calendar_highlight_color="0xffffff"
display="second"
forms_selected_color="0xffffff"
forms_selected_font_color="0xffffff"
forms_unselected_color="0xffffff"
forms_unselected_font_color="0xffffff"
grid_highlight_color="0xffffff"
grid_menu_font_color="0xffffff"
grid_menu_highlight_font_color="0xffffff"
header_font_color="0xffffff"
idle_font_color="0xffffff"
idle_font_outline_color="0xffffff"
idle_softkey_area_font_color="0xffffff"
idle_status_area_font_color="0xffffff"
menu_font_color="0xffffff"
menu_highlight_font_color="0xffffff"
reorder_highlight_color="0xffffff"
reorder_highlight_font_color="0xffffff"
shortcut_bar_popup_background_color="0xffffff"
shortcut_bar_popup_font_color="0xffffff"
softkey_font_color="0xffffff"
status_area_font_color="0xffffff"/>
<menu_item animating_grid="image_3.gif" app_specific_bg="image_4.gif" grid_view_icon="image_2.gif" item_id="ams_messages" list_view_icon="image.gif"/>
<menu_item animating_grid="image_7.gif" app_specific_bg="image_8.gif" grid_view_icon="image_6.gif" item_id="applications" list_view_icon="image_5.gif"/>
<menu_item animating_grid="image_11.gif" app_specific_bg="image_12.gif" grid_view_icon="image_10.gif" item_id="brew" list_view_icon="image_9.gif"/>
<menu_item animating_grid="image_15.gif" app_specific_bg="image_16.gif" grid_view_icon="image_14.gif" item_id="callregister" list_view_icon="image_13.gif"/>
<menu_item animating_grid="image_19.gif" app_specific_bg="image_20.gif" grid_view_icon="image_18.gif" item_id="camera" list_view_icon="image_17.gif"/>
<menu_item animating_grid="image_23.gif" app_specific_bg="image_24.gif" grid_view_icon="image_22.gif" item_id="contacts" list_view_icon="image_21.gif"/>
<menu_item animating_grid="image_27.gif" app_specific_bg="image_28.gif" grid_view_icon="image_26.gif" item_id="extras" list_view_icon="image_25.gif"/>
<menu_item animating_grid="image_31.gif" app_specific_bg="image_32.gif" grid_view_icon="image_30.gif" item_id="gallery" list_view_icon="image_29.gif"/>
<menu_item animating_grid="image_35.gif" app_specific_bg="image_36.gif" grid_view_icon="image_34.gif" item_id="goto" list_view_icon="image_33.gif"/>
<menu_item animating_grid="image_39.gif" app_specific_bg="image_40.gif" grid_view_icon="image_38.gif" item_id="media" list_view_icon="image_37.gif"/>
<menu_item animating_grid="image_43.gif" app_specific_bg="image_44.gif" grid_view_icon="image_42.gif" item_id="messages" list_view_icon="image_41.gif"/>
<menu_item animating_grid="image_47.gif" app_specific_bg="image_48.gif" grid_view_icon="image_46.gif" item_id="number_entry" list_view_icon="image_45.gif"/>
<menu_item animating_grid="image_51.gif" app_specific_bg="image_52.gif" grid_view_icon="image_50.gif" item_id="organizer" list_view_icon="image_49.gif"/>
<menu_item animating_grid="image_55.gif" app_specific_bg="image_56.gif" grid_view_icon="image_54.gif" item_id="push_to_talk" list_view_icon="image_53.gif"/>
<menu_item animating_grid="image_59.gif" app_specific_bg="image_60.gif" grid_view_icon="image_58.gif" item_id="services" list_view_icon="image_57.gif"/>
<menu_item animating_grid="image_63.gif" app_specific_bg="image_64.gif" grid_view_icon="image_62.gif" item_id="settings" list_view_icon="image_61.gif"/>
<menu_item animating_grid="image_67.gif" app_specific_bg="image_68.gif" grid_view_icon="image_66.gif" item_id="simatk" list_view_icon="image_65.gif"/>
<menu_item animating_grid="image_71.gif" app_specific_bg="image_72.gif" grid_view_icon="image_70.gif" item_id="sport" list_view_icon="image_69.gif"/>
<menu_item animating_grid="image_75.gif" app_specific_bg="image_76.gif" grid_view_icon="image_74.gif" item_id="voiceportal" list_view_icon="image_73.gif"/>
<menu_item animating_grid="image_79.gif" app_specific_bg="image_80.gif" grid_view_icon="image_78.gif" item_id="wireless_village" list_view_icon="image_77.gif"/>
<wallpaper
main_display_graphics="image_81.gif"
second_display_graphics="image_138_1.gif"/>
<screensaver
main_display_graphics="image_90.gif"
second_display_graphics="image_138_2.gif"/>
<background
idle_softkey_area_bg="image_83.gif"
idle_status_area_bg="image_82.gif"
main_default_bg="image_86.gif"
note_bg="image_96.gif"
second_default_bg="image_138_3.gif"/>
<calendar_bg
april="image_118.gif"
august="image_122.gif"
december="image_126.gif"
february="image_116.gif"
january="image_133.gif"
july="image_121.gif"
june="image_120.gif" march="image_117.gif"
may="image_119.gif"
november="image_125.gif"
october="image_124.gif"
september="image_123.gif"/>
<radio_audio_bg
audio_bg="image_112.gif"
radio_bg="image_113.gif"/>
<softkey_bg
left="image_87.gif"
middle="image_88.gif"
right="image_89.gif"/>
<wait_graphics
src="image_95.gif"/>
<highlight
active_idle_row="image_84.gif"
active_idle_shortcut_bar="image_85.gif"
forms_selected="image_131.gif"
forms_unselected="image_132.gif"/>
<tones
cal_alert="cal_alert$tones.mp3"
msg_alert="msg_alert$tones.mp3"
ringtone="ringtone$tones.mp3"/>
<startup
duration="3000"
main_display_graphics="image_91.gif"
second_display_graphics="image_138_4.gif"
tone="tone$startup.mp3"/>
<shutdown
duration="3000"
main_display_graphics="image_92.gif"
second_display_graphics="image_138_5.gif"
tone="tone$shutdown.mp3"/>
<transformation_open
duration="1000"
main_display_graphics="image_93.gif"
second_display_graphics="image_138_6.gif"
tone="tone$transformation_open.mp3"/>
<transformation_close
duration="1000"
main_display_graphics="image_94.gif"
second_display_graphics="image_138_7.gif"
tone="tone$transformation_close.mp3"/>
</theme>
</pre>

Revision as of 17:09, 21 January 2010

Links

Theme files

  • Theme files have an extension .nth. They are actually zip-compressed archive
    • Files in the archive must not be in a sub-directory, or theme file is considered corrupted.
  • Theme file description is contained within an xml file.
  • An old version of the DTD here (as per Nokia S40 Theme Studio 2.1).
  • Example of a theme file (from [1])
<theme name="template" version="2.0">
<colors 
    active_idle_active_font_color="0xffffff"
    active_idle_content_background_color="0xffffff"
    calendar_highlight_color="0xffffff"
    display="main"
    forms_selected_color="0xffffff"
    forms_selected_font_color="0xffffff"
    forms_unselected_color="0xffffff"
    forms_unselected_font_color="0xffffff"
    grid_menu_font_color="0xffffff"
    grid_menu_highlight_font_color="0xffffff"
    header_font_color="0xffffff"
    idle_font_color="0xffffff"
    idle_font_outline_color="0xffffff"
    idle_softkey_area_font_color="0xffffff"
    idle_status_area_font_color="0xffffff"
    menu_font_color="0xffffff"
    menu_highlight_font_color="0xffffff"
    shortcut_bar_popup_background_color="0xffffff"
    shortcut_bar_popup_font_color="0xffffff"
    softkey_font_color="0xffffff"
    status_area_font_color="0xffffff"/>
<colors
    active_idle_active_font_color="0xffffff"
    active_idle_content_background_color="0xffffff"
    calendar_highlight_color="0xffffff"
    display="second"
    forms_selected_color="0xffffff"
    forms_selected_font_color="0xffffff"
    forms_unselected_color="0xffffff"
    forms_unselected_font_color="0xffffff"
    grid_highlight_color="0xffffff"
    grid_menu_font_color="0xffffff"
    grid_menu_highlight_font_color="0xffffff"
    header_font_color="0xffffff"
    idle_font_color="0xffffff"
    idle_font_outline_color="0xffffff"
    idle_softkey_area_font_color="0xffffff"
    idle_status_area_font_color="0xffffff"
    menu_font_color="0xffffff"
    menu_highlight_font_color="0xffffff"
    reorder_highlight_color="0xffffff"
    reorder_highlight_font_color="0xffffff"
    shortcut_bar_popup_background_color="0xffffff"
    shortcut_bar_popup_font_color="0xffffff"
    softkey_font_color="0xffffff"
    status_area_font_color="0xffffff"/>
<menu_item animating_grid="image_3.gif" app_specific_bg="image_4.gif" grid_view_icon="image_2.gif" item_id="ams_messages" list_view_icon="image.gif"/>
<menu_item animating_grid="image_7.gif" app_specific_bg="image_8.gif" grid_view_icon="image_6.gif" item_id="applications" list_view_icon="image_5.gif"/>
<menu_item animating_grid="image_11.gif" app_specific_bg="image_12.gif" grid_view_icon="image_10.gif" item_id="brew" list_view_icon="image_9.gif"/>
<menu_item animating_grid="image_15.gif" app_specific_bg="image_16.gif" grid_view_icon="image_14.gif" item_id="callregister" list_view_icon="image_13.gif"/>
<menu_item animating_grid="image_19.gif" app_specific_bg="image_20.gif" grid_view_icon="image_18.gif" item_id="camera" list_view_icon="image_17.gif"/>
<menu_item animating_grid="image_23.gif" app_specific_bg="image_24.gif" grid_view_icon="image_22.gif" item_id="contacts" list_view_icon="image_21.gif"/>
<menu_item animating_grid="image_27.gif" app_specific_bg="image_28.gif" grid_view_icon="image_26.gif" item_id="extras" list_view_icon="image_25.gif"/>
<menu_item animating_grid="image_31.gif" app_specific_bg="image_32.gif" grid_view_icon="image_30.gif" item_id="gallery" list_view_icon="image_29.gif"/>
<menu_item animating_grid="image_35.gif" app_specific_bg="image_36.gif" grid_view_icon="image_34.gif" item_id="goto" list_view_icon="image_33.gif"/>
<menu_item animating_grid="image_39.gif" app_specific_bg="image_40.gif" grid_view_icon="image_38.gif" item_id="media" list_view_icon="image_37.gif"/>
<menu_item animating_grid="image_43.gif" app_specific_bg="image_44.gif" grid_view_icon="image_42.gif" item_id="messages" list_view_icon="image_41.gif"/>
<menu_item animating_grid="image_47.gif" app_specific_bg="image_48.gif" grid_view_icon="image_46.gif" item_id="number_entry" list_view_icon="image_45.gif"/>
<menu_item animating_grid="image_51.gif" app_specific_bg="image_52.gif" grid_view_icon="image_50.gif" item_id="organizer" list_view_icon="image_49.gif"/>
<menu_item animating_grid="image_55.gif" app_specific_bg="image_56.gif" grid_view_icon="image_54.gif" item_id="push_to_talk" list_view_icon="image_53.gif"/>
<menu_item animating_grid="image_59.gif" app_specific_bg="image_60.gif" grid_view_icon="image_58.gif" item_id="services" list_view_icon="image_57.gif"/>
<menu_item animating_grid="image_63.gif" app_specific_bg="image_64.gif" grid_view_icon="image_62.gif" item_id="settings" list_view_icon="image_61.gif"/>
<menu_item animating_grid="image_67.gif" app_specific_bg="image_68.gif" grid_view_icon="image_66.gif" item_id="simatk" list_view_icon="image_65.gif"/>
<menu_item animating_grid="image_71.gif" app_specific_bg="image_72.gif" grid_view_icon="image_70.gif" item_id="sport" list_view_icon="image_69.gif"/>
<menu_item animating_grid="image_75.gif" app_specific_bg="image_76.gif" grid_view_icon="image_74.gif" item_id="voiceportal" list_view_icon="image_73.gif"/>
<menu_item animating_grid="image_79.gif" app_specific_bg="image_80.gif" grid_view_icon="image_78.gif" item_id="wireless_village" list_view_icon="image_77.gif"/>
<wallpaper
    main_display_graphics="image_81.gif"
    second_display_graphics="image_138_1.gif"/>
<screensaver
    main_display_graphics="image_90.gif"
    second_display_graphics="image_138_2.gif"/>
<background 
    idle_softkey_area_bg="image_83.gif"
    idle_status_area_bg="image_82.gif"
    main_default_bg="image_86.gif"
    note_bg="image_96.gif"
    second_default_bg="image_138_3.gif"/>
<calendar_bg 
    april="image_118.gif"
    august="image_122.gif"
    december="image_126.gif"
    february="image_116.gif"
    january="image_133.gif"
    july="image_121.gif"
    june="image_120.gif" march="image_117.gif"
    may="image_119.gif"
    november="image_125.gif"
    october="image_124.gif"
    september="image_123.gif"/>
<radio_audio_bg 
    audio_bg="image_112.gif"
    radio_bg="image_113.gif"/>
<softkey_bg 
    left="image_87.gif"
    middle="image_88.gif"
    right="image_89.gif"/>
<wait_graphics 
    src="image_95.gif"/>
<highlight 
    active_idle_row="image_84.gif"
    active_idle_shortcut_bar="image_85.gif"
    forms_selected="image_131.gif"
    forms_unselected="image_132.gif"/>
<tones 
    cal_alert="cal_alert$tones.mp3" 
    msg_alert="msg_alert$tones.mp3" 
    ringtone="ringtone$tones.mp3"/>
<startup
    duration="3000" 
    main_display_graphics="image_91.gif" 
    second_display_graphics="image_138_4.gif" 
    tone="tone$startup.mp3"/>
<shutdown
    duration="3000" 
    main_display_graphics="image_92.gif" 
    second_display_graphics="image_138_5.gif" 
    tone="tone$shutdown.mp3"/>
<transformation_open
    duration="1000" 
    main_display_graphics="image_93.gif" 
    second_display_graphics="image_138_6.gif" 
    tone="tone$transformation_open.mp3"/>
<transformation_close
    duration="1000" 
    main_display_graphics="image_94.gif" 
    second_display_graphics="image_138_7.gif" 
    tone="tone$transformation_close.mp3"/>
</theme>