release_notes.txt 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. Series 40 Web Apps UI Visualisation Examples
  2. ============================================
  3. Series 40 Web Apps UI Visualisation Examples demonstrates the use of different
  4. kinds of UI elements, navigational solutions, and patterns created with HTML,
  5. CSS and JavaScript technologies. The example is meant for both designers and
  6. developers: designers get an impression of how the components actually look
  7. on the device, and developers learn how to use the Series 40 Web Apps UI
  8. components.
  9. The application has been designed for Series 40 full touch, touch and type,
  10. and most recent non-touch devices. Please note that Nokia Browser version
  11. 2.0 or higher is required for the application to run properly, as certain
  12. features (such as file uploading or downloading and WQVGA displays) are not
  13. supported by older browser versions.
  14. The application suite contains examples of the following components and
  15. patterns:
  16. Elements
  17. - Buttons - demonstrates different Button layouts.
  18. - Radio buttons - demonstrates the use of radio buttons.
  19. - Check boxes - demonstrates how to create and use check boxes.
  20. - Lists - demonstrates various list types.
  21. - Tabs - demonstrates using tabs within a Web Application.
  22. - Text Fields - demonstrates different types of text fields.
  23. Navigation
  24. - Carousel, In-Item - demonstrates using -webkit-transitions with a sliding
  25. image container.
  26. - Carousel, Item - as Carousel In-Item, but with full screen.
  27. - Dynamic Looping - demonstrates using dynamically loaded content using both
  28. MWL-methods and JavaScript.
  29. - Expandable List - demonstrates how to create an accordion list.
  30. - Picker - demonstrates selecting a value for a button from a list.
  31. - Tabbed pages - demonstrates navigation within a web application using tabs.
  32. - Tree Structure - demonstrates how to create a dynamic, three levels deep
  33. tree-like navigational example.
  34. Patterns
  35. - File upload demonstrates selecting and sending a file with HTML forms.
  36. - File download demonstrates downloading and saving a file from a server.
  37. - Page Title Link demonstrates tree structure -like navigation, with added
  38. title link.
  39. - Passwords example demonstrates using HTML password input and saving
  40. information to cloud.
  41. - Web Page Link demonstrates opening a web link from within a web app.
  42. - Search demonstrates how to implement searching functionality to a web
  43. application.
  44. - Sharing content example demonstrates how to incorporate sharing content
  45. via SMS or Facebook with web app technologies.
  46. In brief, this example application demonstrates:
  47. - Different UI "components" (i.e. HTML, CSS & JavaScript code snippets) and
  48. design patterns that can be used in Series 40 Web Apps.
  49. - Navigating between web app 'views'.
  50. - How to accommodate different input methods in a web application.
  51. Note that the application was created to demonstrate the UI components and does
  52. not have any actual engine implementation.
  53. The application is hosted in Nokia Developer Projects:
  54. - http://projects.developer.nokia.com/webappsuivisualisation
  55. For more information on the implementation, visit the wiki page:
  56. - http://projects.developer.nokia.com/webappsuivisualisation/wiki
  57. 1. Prerequisites
  58. -------------------------------------------------------------------------------
  59. - HTML basics
  60. - CSS basics
  61. - JavaScript basics
  62. - Series 40 Web Apps & Mobile Web Library basics
  63. 2. Project structure and implementation
  64. -------------------------------------------------------------------------------
  65. 2.1 Folders
  66. -----------
  67. | The root folder contains the main index.html file,
  68. | licence information and this file (release notes).
  69. |
  70. |- css Contains style definition files for landscape & portrait
  71. | modes.
  72. |
  73. |- img Contains graphics (icons and images) that are packaged
  74. | within the application widget package.
  75. |
  76. |- js Contains application logic script files.
  77. |
  78. |- screenshots Contains screenshots taken from the application.
  79. |
  80. 2.2 Important files and classes
  81. -------------------------------
  82. | File | Description |
  83. |-------------------------|---------------------------------------------------|
  84. | index.html | Defines the HMTL structure of each of the mini |
  85. | | apps. Also has most of MWL related functionality. |
  86. |-------------------------|---------------------------------------------------|
  87. | utils.js | Contains the JavaScript functions implementing |
  88. | | the more complex application logic. |
  89. |-------------------------|---------------------------------------------------|
  90. | single_portrait.css | Files that have the CSS classes that define the |
  91. | single_landscape.css | application look and feel on different devices. |
  92. |-------------------------|---------------------------------------------------|
  93. 2.3 Used APIs
  94. ----------------------------------------------
  95. The following APIs have been used.
  96. MWL functions:
  97. - iterateClass()
  98. - loadURL()
  99. - scrollTo()
  100. - setGroupTarget()
  101. - stopTimer()
  102. - switchClass()
  103. - timer()
  104. - toggleClass()
  105. JavaScript APIs:
  106. - document.getElementById
  107. - Math.random()
  108. - Math.floor()
  109. - widget.preferences.setItem()
  110. - widget.preferences.clear()
  111. CSS3 features:
  112. - -webkit-transition
  113. 3. Compatibility
  114. -------------------------------------------------------------------------------
  115. Compatible with:
  116. - Nokia Series 40 full touch, touch and type, and non-touch (landscape)
  117. devices with Nokia Browser 2.0 or newer
  118. Tested on:
  119. - Nokia Asha 306
  120. - Nokia Asha 303
  121. - Nokia Asha 201
  122. Developed with:
  123. - Nokia Web Developer Environment / Nokia Web Tools 2.0
  124. 3.2 Known issues and design limitations
  125. ---------------------------------------
  126. In Series 40 Web Apps, you can implement some business logic locally by
  127. switching between CSS classes (i.e., MWL functions), but often logic needs to
  128. be executed on the Nokia proxy side (intermediate server). Latency is then
  129. unavoidable because data is transferred over a mobile network. In the UI
  130. Visualisation Demos, most latency can be seen in "Dynamic looping", "Search",
  131. "Tree View", and "Page Title Link" examples, because each of these examples
  132. has some logic that has to be executed on the server.
  133. 4. Building, installing, and running the application
  134. -------------------------------------------------------------------------------
  135. 4.1 Preparations
  136. ----------------
  137. Check that you have the latest Nokia Web Developer Environment installed and
  138. the latest Nokia Browser version on the device.
  139. Nokia Web Tools 2.0 or higher is required.
  140. Only Nokia Browser v2.0 and higher are supported.
  141. 4.2 Using the Nokia Web Developer Environment
  142. ---------------------------------------------
  143. You can preview and deploy the web application on a server by using the WDE.
  144. Open the project in the SDK, and select either local/cloud preview, or select
  145. deploy Web App for deploying it on the web server.
  146. For more details about the Nokia Web Developer Environment and deploying apps,
  147. visit the Getting Started with Series 40 Web Apps at Nokia Developer
  148. (http://www.developer.nokia.com/Develop/Series_40/Series_40_web_apps/Getting_started/).
  149. 4.3 Nokia Series 40 device
  150. --------------------------
  151. Use the device's browser to navigate to the short URL given by the Nokia WDE
  152. upon deployment. The web browser will identify it as an web application and
  153. it will be loaded on the device.
  154. It is also possible to use Bluetooth deployment, which will start the browser
  155. automatically to the correct URL address. This requires that the Bluetooth
  156. launcher is installed on the device.
  157. 5. Licence
  158. -------------------------------------------------------------------------------
  159. See the licence text file delivered with this project. The licence file is also
  160. available online at
  161. http://projects.developer.nokia.com/webappsuivisualisation/browser/Licence.txt
  162. 6. Related documentation
  163. -------------------------------------------------------------------------------
  164. Mobile Web Library
  165. - http://www.developer.nokia.com/Resources/Library/Series_40_web_apps_library/#!technical-library/descriptions-of-mwl-methods.html
  166. S40 Web Apps Design Library:
  167. - http://www.developer.nokia.com/Resources/Library/Series_40_web_apps_library/#!design-library-intoduction.html
  168. HTML 4.01
  169. - http://www.w3.org/TR/1999/REC-html401-19991224/
  170. JavaScript 1.6
  171. - https://developer.mozilla.org/en/JavaScript/Reference
  172. - https://developer.mozilla.org/en/JavaScript/New_in_JavaScript/1.6
  173. CSS Mobile Profile 2
  174. - http://www.w3.org/TR/2008/CR-css-mobile-20081210/
  175. 7. Version history
  176. -------------------------------------------------------------------------------
  177. 1.0 Initial release.