release_notes.txt 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. WhoWhere Daemon Example
  2. =======================
  3. This Qt C++ example application demonstrates how to use the QtMobility Service
  4. Framework.
  5. There are two parts in this example:
  6. * The Daemon Service executable binary
  7. * The Client QML UI example application that communicates with the executable
  8. binary Daemon.exe via the Service Framework
  9. A separate Qt example application called WhoWhere shows your position on a
  10. map. You can send your location or ask a friend (from your contacts list) for
  11. his or her current location using short message service (SMS) messages.
  12. The Daemon Service offers a QtMobility Service Framework interface to the Client.
  13. The Daemon finds your current GPS location if it is requested by the QML WhoWhere
  14. Daemon UI example or the Qt WhoWhere example. The Daemon responds to the example
  15. application's location requests automatically without user interaction. You can
  16. request your friend's current GPS location via SMS using Qt WhoWhere, and if
  17. the friend in question has this Daemon running on their device, it responds automatically.
  18. The Client UI application tries to find the service offered by the Daemon,
  19. com.nokia.qt.examples.qwhowheredaemon.WhoWhereDaemonService, and connects to
  20. it.
  21. The example has been tested to work with Qt 4.7.4. and QtMobility 1.2.1 on
  22. Symbian Anna.
  23. PREREQUISITES
  24. -------------------------------------------------------------------------------
  25. - Qt basics.
  26. IMPORTANT FILES/CLASSES
  27. -------------------------------------------------------------------------------
  28. Daemon:
  29. - main.cpp: Registers the com.nokia.qt.examples.qwhowheredaemon service
  30. - Daemon.h: Daemon that listens for and sends SMS messages and requests GPS
  31. location if asked
  32. - Message.h: SMS message handling
  33. QML Client:
  34. - watergen.h: Generates water
  35. - wateritem.h: Custom QML item that shows a moving ocean
  36. - main.qml: Main QML, connects to Daemon
  37. com.nokia.qt.examples.qwhowheredaemon.WhoWhereDaemonService
  38. service
  39. - ContactsView.qml: Shows contacts from device memory
  40. - DaemonLog.qml: Reads and shows log messages from the Daemon Server
  41. Important QtMobility classes: QRemoteServiceRegister, QServiceManager,
  42. QGeoPositionInfoSource, QGeoPositionInfoSource.
  43. REQUIRED CAPABILITIES
  44. -------------------------------------------------------------------------------
  45. The Client UI application can be self-signed.
  46. The Daemon service executable binary must be Developer Signed at:
  47. https://www.symbiansigned.com/app/page/public/openSignedOnline.do
  48. KNOWN ISSUES
  49. -------------------------------------------------------------------------------
  50. None.
  51. BUILD & INSTALLATION INSTRUCTIONS
  52. -------------------------------------------------------------------------------
  53. Preparations
  54. ~~~~~~~~~~~~
  55. Check that you have the latest Qt/Qt SDK installed in the development
  56. environment and on the device.
  57. Build & installation instructions using Qt SDK
  58. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  59. 1. Open the Qt PRO file
  60. File > Open File or Project, select pro-file.
  61. 2. Select target(s), for example 'Qt for Symbian^3 (Qt SDK)', and press the
  62. Finish button.
  63. 3. Press the Run button to build the project and create the Symbian install
  64. package. The application is installed on the device. Remember that Daemon
  65. must be Developer Signed.
  66. COMPATIBILITY
  67. -------------------------------------------------------------------------------
  68. - Qt 4.7.4
  69. - QtMobility 1.2.1
  70. Tested on:
  71. - Nokia N8-00
  72. - Nokia E7-00
  73. Developed with:
  74. - Qt SDK 1.1.4
  75. CHANGE HISTORY
  76. -------------------------------------------------------------------------------
  77. 1.1 Daemon start on device startup removed
  78. 1.0 First version
  79. RELATED DOCUMENTATION
  80. -------------------------------------------------------------------------------
  81. Qt WhoWhere example
  82. https://projects.forum.nokia.com/whowhere
  83. New Qt APIs - Qt Mobility
  84. http://qt.nokia.com/products/qt-addons/mobility
  85. Qt for Symbian
  86. http://qt.nokia.com/downloads