release_notes.txt 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. Battleships
  2. ===========
  3. Battleships is a Qt Quick example game of the well-known guessing game played
  4. by two people. This demo uses the Bluetooth connectivity module of
  5. the Qt Mobility API. In this game you have to guess where your opponent's
  6. battleships are on the 10 x 10 grid and sink them before the opponent
  7. sinks your ships. The game has both single player and two-player modes. In the
  8. two-player mode, two devices are connected over a Bluetooth connection.
  9. This example application is hosted in Nokia Developer Projects:
  10. - http://projects.developer.nokia.com/battleships
  11. For more information on implementation and porting, visit the wiki pages:
  12. - http://projects.developer.nokia.com/battleships/wiki
  13. - http://projects.developer.nokia.com/battleships/wiki/DesignConsiderations
  14. 1. Usage
  15. -------------------------------------------------------------------------------
  16. Battleships uses Qt Mobility's Bluetooth connectivity API to scan and
  17. communicate with nearby devices. The communication between devices is
  18. implemented on top of the RFCOMM protocol.
  19. 2. Prerequisites
  20. -------------------------------------------------------------------------------
  21. - Qt basics
  22. - Qt Quick basics
  23. 3. Project structure and implementation
  24. -------------------------------------------------------------------------------
  25. 3.1 Folders
  26. -----------
  27. | The root folder contains the license information
  28. | and this file (release notes).
  29. |
  30. |- bin Contains the compiled binaries of the application.
  31. |
  32. |- doc Contains documentation for the application, such as
  33. | diagrams and Gimp projects.
  34. |
  35. |- gfx Contains application graphics.
  36. |
  37. |- src Contains the project and Qt/C++ source code files.
  38. |
  39. |- icons Contains the application icons.
  40. |
  41. |- qml Contains the QML and Javascript files.
  42. | |
  43. | |- gfx Contains application graphics.
  44. |
  45. |- qmlapplicationviewer Contains the application viewer Qt/C++ source
  46. | files.
  47. |
  48. |- qtc_packaging Contains the Harmattan (Debian) packaging files.
  49. |
  50. |- rsc Contains Qt resource files.
  51. 3.2 Used APIs/QML elements/Qt Quick Components
  52. ----------------------------------------------
  53. Qt Mobility/Bluetooth Connectivity for the communication.
  54. QML Particles element to provide particle effects.
  55. 4. Compatibility
  56. -------------------------------------------------------------------------------
  57. - Symbian devices with Qt 4.7.4 or higher.
  58. - MeeGo 1.2 Harmattan.
  59. Tested to work on Nokia C7-00, Nokia E7-00, Nokia N8-00, Nokia 700, Nokia N9.
  60. Developed with Qt SDK 1.1.4.
  61. 4.1 Required capabilities
  62. -------------------------
  63. None. The application can be self-signed on Symbian.
  64. 4.2 Known Issues
  65. ----------------
  66. None.
  67. 5. Building, installing, and running the application
  68. -------------------------------------------------------------------------------
  69. 5.1 Preparations
  70. ----------------
  71. Check that you have the latest Qt SDK installed in the development environment
  72. and the latest Qt version on the device.
  73. Qt Quick Components 1.0 or higher is required.
  74. 5.2 Using the Qt SDK
  75. --------------------
  76. You can install and run the application on the device by using the Qt SDK.
  77. Open the project in the SDK, set up the correct target (depending on the device
  78. platform), and click the Run button. For more details about this approach,
  79. visit the Qt Getting Started section at Nokia Developer
  80. (http://www.developer.nokia.com/Develop/Qt/Getting_started/).
  81. 5.3 Symbian device
  82. ------------------
  83. Make sure your device is connected to your computer. Locate the .sis
  84. installation file and open it with Ovi Suite. Accept all requests from Ovi
  85. Suite and the device. Note that you can also install the application by copying
  86. the installation file onto your device and opening it with the Symbian File
  87. Manager application.
  88. After the application is installed, locate the application icon from the
  89. application menu and launch the application by tapping the icon.
  90. 5.4 Nokia N9 and Nokia N950
  91. ---------------------------
  92. Copy the application Debian package onto the device. Locate the file with the
  93. device and run it; this will install the application. Note that you can also
  94. use the terminal application and install the application by typing the command
  95. 'dpkg -i <package name>.deb' on the command line. To install the application
  96. using the terminal application, make sure you have the right privileges
  97. to do so (e.g. root access).
  98. Once the application is installed, locate the application icon from the
  99. application menu and launch the application by tapping the icon.
  100. 6. License
  101. -------------------------------------------------------------------------------
  102. See the license text file delivered with this project. The license file is also
  103. available online at
  104. http://projects.developer.nokia.com/battleships/browser/trunk/Licence.txt
  105. 7. Related documentation
  106. -------------------------------------------------------------------------------
  107. Qt Quick Components
  108. - http://doc.qt.nokia.com/qt-components-symbian-1.0/index.html
  109. - http://harmattan-dev.nokia.com/docs/library/html/qt-components/qt-components.html
  110. 8. Version history
  111. -------------------------------------------------------------------------------
  112. 1.0 Added new graphics, improved the UX.
  113. 0.6 Added fix to Bluetooth
  114. 0.5 Initial version, problems with Bluetooth.