Release_notes.txt 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. Guarana UI - jQuery-based Library for Nokia WebRunTime - Version 1.2
  2. Support for S60 3rdFP2, S60 5th and Maemo5 WRT
  3. http://www.forum.nokia.com/GuaranaUI
  4. --------------------------------------------------------------------------------
  5. --------------------------------------------------------------------------------
  6. ABOUT
  7. This is the release note of the Javascript Library for Nokia Web Runtime,
  8. Guarana. Nokia WRT is a development and delivery platform that allows the
  9. creation of applications (widgets) based on standard web technologies,
  10. such as HTML, CSS, JavaScript, and AJAX. WRT Framework intends to offer
  11. developers a set of common components to create and deploy widgets in a
  12. friendly way. If you would like to know how to start developing with
  13. Nokia WRT, please visit Web Runtime QuickStart available in the Forum
  14. Nokia website. If you would like to know how to use this library to
  15. developer widgets, the following topics will help you.
  16. The WRT Framework is closely integrated with the jQuery library. The
  17. library uses the best practices of other libraries such as jQueryUI,
  18. MooTools, and ThemeRoller.
  19. --------------------------------------------------------------------------------
  20. --------------------------------------------------------------------------------
  21. WHAT'S NEW
  22. Including Full Widgets Templates for S60 3rd and 5th Edition
  23. --------------------------------------------------------------------------------
  24. --------------------------------------------------------------------------------
  25. SUPORTED PLATFORMS
  26. - S60 3rd Edition FP2
  27. - S60 5th Edition
  28. - Maemo5 WebRuntime
  29. --------------------------------------------------------------------------------
  30. --------------------------------------------------------------------------------
  31. PREREQUISITES
  32. HTML
  33. CSS
  34. JavaScript
  35. Qt WebRuntime for Maemo5 devices
  36. --------------------------------------------------------------------------------
  37. --------------------------------------------------------------------------------
  38. IMPORTANT FILES/CLASSES
  39. * Build (build folder)
  40. This folder is the WRT Framework Build System. We will talk more about it in the next section.
  41. * Components Demos (demos folder)
  42. This folder include demos for the UI components. We have a demo for each WRT Framework component.
  43. * JQuery files (lib folder)
  44. This folder includes JQuery Files used by WRT Framework. The JQuery version used is 1.2.6.
  45. This version is the most compatible version thats works stable in S60 devices.
  46. * Core files (src folder)
  47. This folder includes all javascript core files. Here we have library core files, components
  48. implementation files. Additionally we have a sub-folder called i18n that has information
  49. about components internationalization. In the current version, the only that have
  50. internationalization is Date component.
  51. * Themes (themes folder)
  52. This folders includes all CSS files used by WRT Framework. The two sub-folders presented
  53. are described bellow:
  54. a) themeroller: This is the jQuery UI CSS Framework used by Framework. More
  55. information about themeroller is available here.
  56. b) nokia: This is the nokia base. Here we have component CSS base for WRT
  57. Framework. The default base CSS is designed for 360x640 resolution with Nokia Green Theme.
  58. Everything different from this, i.e. 240x320 resolutions or other theme need to be
  59. implemented as an nokia base extension.
  60. This folder is the WRT Framework Build System. We will talk more about it in the next section.
  61. --------------------------------------------------------------------------------
  62. --------------------------------------------------------------------------------
  63. THE GUARANA_UI BUILD SYSTEM
  64. The library has an automated build system that makes packaging process easy and fast. This
  65. optimized the production version concatenating and minifying all CSS and javascript files
  66. in a single one file. After this we have a minimized and simplified version for the Framework.
  67. To build GuaranaUI, use the following commands. An important point is that the Apache Ant Tool
  68. must be configured:
  69. $ cd build
  70. $ ant
  71. The build output is a folder Guarana, the structure is detailed:
  72. 1. demos/
  73. This includes a demo for each component available in the Framework.
  74. 2. lib/
  75. This file includes all javascript componentes implementation and jQuery.
  76. 3. themes/themeroller/
  77. The Themeroller CSS Theme, according the theme setted in the build.
  78. 4. themes/nokia/base/
  79. The Nokia base CSS File. The default base CSS is designed for 360x640 resolution with Nokia Green Theme. Everything different from this, i.e. 240x320 resolutions or other theme need to be implemented as an nokia base extension. We will talk more about it in next item.
  80. 5. themes/Nokia/<theme>/<resolution>
  81. custom.css: Here we have a extension for a specific theme and resolution. For example if you are building a library version for Red theme and 240x320 resolution, we we have the CSS adjustiments for this theme and resolution here.
  82. The default configuration for the framework is 360x640 resolution using Nokia Green Theme. Developer can build library versions for others resolutions and themes available. To generate this use the following command:
  83. $ cd build
  84. $ ant -Dresolution=<resolution> -Dtheme=<theme>
  85. The resolution available in this version is 360x640, used by N97 and 5800 for example, and 240x320, very common resolution for non-touch devices. The themes supported at this time is the default green theme and red, this one only available for 360x640. We will have more themes supported in next release.
  86. For example, to generate the red theme version for N97 device (360x640), you must type:
  87. $ cd build
  88. $ ant -Dresolution=360x640 -Dtheme=red
  89. Additionally, developer can build a customized version including only a set of components. For example, to generate a custom version including only accordion and button components, you must type:
  90. $ cd build
  91. $ ant -Dcomponents=accordion_button
  92. IMPORTANT! After the build process, please copy lib and themes folders to your widget.
  93. IMPORTANT! If you are building a version for Maemo5 you need to add -Ddemofolder=maemo5 param in your command build line.
  94. --------------------------------------------------------------------------------
  95. --------------------------------------------------------------------------------
  96. THE GuaranaUI DOCUMENTATION
  97. http://www.forum.nokia.com/GuaranaUI
  98. --------------------------------------------------------------------------------