release_notes.txt 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. MIDP: Compass
  2. =====================
  3. This Java ME application demonstrates the Location API and Scalable 2D Vector
  4. Graphics API features on the Series 40 and Symbian S60 platforms.
  5. The example is a simple compass which shows the direction of North and the
  6. direction of a selected landmark. The user can also add the current location
  7. as a landmark.
  8. -------------------------------------------------------------------------------
  9. PREREQUISITES
  10. Java ME basics
  11. -------------------------------------------------------------------------------
  12. IMPORTANT FILES AND CLASSES
  13. src\..\CompassView.java
  14. src\..\LandMarkManager.java
  15. src\..\LocationFinder.java
  16. src\..\LocationListener.java
  17. res\compass.svg
  18. res\navi.svg
  19. Classes: LocationProvider, Location, LandmarkStore, Landmark, SVGMatrix.
  20. -------------------------------------------------------------------------------
  21. DESIGN CONSIDERATIONS
  22. The application calculates the direction by requesting the course. This means
  23. that the correct direction is not immediately shown and the user has to walk a
  24. bit for the GPS to get the proper course. This is done because current Nokia
  25. phones don't implement the orientation features in the Location API.
  26. When the GPS polling is running, the application uses quite a lot of power. To
  27. prevent excess power consumption, the application stops the polling when the
  28. backlight goes off or the screensaver goes on. The polling begins again when
  29. the backlight goes on or the screensaver goes off.
  30. The SVG images that are manipulated in this example are made a bit differently
  31. than usual. The image is actually in the top left corner of the SVG viewport.
  32. This is because otherwise the image would rotate with the centerpoint in the
  33. top left corner of the image. With the image in the top left corner, the
  34. rotation works properly and the only thing left to do is translate the image
  35. back to the center of the viewport.
  36. -------------------------------------------------------------------------------
  37. KNOWN ISSUES
  38. No known issues
  39. -------------------------------------------------------------------------------
  40. BUILD AND INSTALLATION INSTRUCTIONS
  41. The example has been made with NetBeans 6.8 and Series 40 6th Edition SDK. The
  42. project can be easily opened in NetBeans by selecting 'Open Project' from the
  43. File menu and selecting the application.
  44. Before opening the project, make sure a compatible SDK (for example, the
  45. Series 40 6th Edition SDK) is installed and added to NetBeans. Building is
  46. done by selecting 'Build main project'.
  47. Installing the application on a phone can be done by transfering the JAR file
  48. via Nokia Ovi Suite or via Bluetooth.
  49. -------------------------------------------------------------------------------
  50. RUNNING THE EXAMPLE
  51. The application has two views. The main view shows the direction and the
  52. currently selected landmark. You can switch the current landmark by pressing
  53. left or right.
  54. The second view is for adding landmarks. To open it, press the left softkey
  55. which opens the 'Store Location' view. Pressing up or down highlights the text
  56. field and pressing the middle softkey opens a text editor where you can type
  57. the name of the new landmark. To get back, press the right softkey.
  58. Getting the correct direction requires the user to walk for a while so that
  59. GPS is able to determine the correct course.
  60. -------------------------------------------------------------------------------
  61. COMPATIBILITY
  62. Series 40 6th Edition
  63. S60 3rd Edition, Feature Pack 2
  64. Tested on:
  65. Nokia 2710 Navigation Edition
  66. Nokia E75
  67. Developed with:
  68. Netbeans 6.8
  69. Series 40 6th Edition SDK
  70. s60 3rd Edition, FP2 SDK
  71. -------------------------------------------------------------------------------
  72. CHANGE HISTORY
  73. 1.0 First Release
  74. -------------------------------------------------------------------------------
  75. RELATED DOCUMENTATION
  76. JSR-179 Location API for Java ME v1.0.1 in the Java Developer's Library:
  77. http://library.forum.nokia.com/topic/Java_Developers_Library/GUID-4AEC8DAF-DDCC-4A30-B820-23F2BA60EA52/overview-summary.html
  78. Scalable 2D Vector Graphics API for Java ME (JSR-226) in the Java Developer's Library:
  79. http://library.forum.nokia.com/topic/Java_Developers_Library/GUID-47BB9F00-FE65-484D-BD71-F54AF5884D32/overview-summary.html