release_notes.txt 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. Diner Silverlight v1.4
  2. ======================
  3. This example application demonstrates how to build a simple application based
  4. on panorama control for Windows Phone using Microsoft Silverlight.
  5. The example has been developed with Silverlight for Windows Phone devices
  6. and tested to work on Windows Phone 7 and Windows Phone 8.
  7. Support for Windows Phone 8 was made according to guidelines given in article
  8. http://www.developer.nokia.com/Resources/Library/Lumia/#!co-development-and-porting-guide.html.
  9. The solution consists of two top-level projects sharing the same source
  10. code, one targeting WP 7 and the other targeting WP 8. Bing Maps control is
  11. used in WP 7 project and the new Map control introduced in Windows Phone is
  12. used in WP 8 project.
  13. This example application is hosted in Nokia Developer Projects:
  14. - http://projects.developer.nokia.com/wprestaurantapp
  15. For more information on implementation and porting, visit the wiki pages:
  16. - http://projects.developer.nokia.com/wprestaurantapp/wiki
  17. - http://projects.developer.nokia.com/wprestaurantapp/wiki/porting
  18. What's new
  19. ----------
  20. Version 1.4.0: Using Pushpin from WPToolkit for WP 8.
  21. 1. Usage
  22. -------------------------------------------------------------------------------
  23. This is a simple build-and-run solution.
  24. 2. Prerequisites
  25. -------------------------------------------------------------------------------
  26. - C# basics
  27. - Windows 8
  28. - Microsoft Visual Studio Express for Windows Phone 2012
  29. - NuGet 2.1 (https://nuget.org/), Visual Studio extension to install and update
  30. third-party libraries and tools in Visual Studio
  31. 3. Project structure and implementation
  32. -------------------------------------------------------------------------------
  33. 3.1 Folders
  34. -----------
  35. | The root folder contains the project file, the license
  36. | information, and this file (release_notes.txt).
  37. |
  38. |- wprestaurantapp_wp7 Root folder for Windows Phone 7 specific project.
  39. | |
  40. | |- content Graphic files.
  41. | |
  42. | |- Properties Application property files.
  43. | |
  44. | |- SampleData Sample data file.
  45. | |
  46. | |- ViewModels ViewModel implementation files.
  47. |
  48. |- wprestaurantapp_wp8 Root folder for Windows Phone 8 specific project.
  49. | |
  50. | |- Properties Application property files.
  51. 3.2 Important files and classes
  52. -------------------------------
  53. | File | Description |
  54. |--------------------------------|--------------------------------------------|
  55. | MainPage.xaml.cs | Class responsible for displaying the |
  56. | | panorama view of the application. |
  57. |--------------------------------|--------------------------------------------|
  58. | MainViewModel.cs | Class responsible for loading restaurant |
  59. | | data from disc. |
  60. |--------------------------------|--------------------------------------------|
  61. | RestaurantData.cs | Class describing the restaurant properties |
  62. | | shown. |
  63. |--------------------------------|--------------------------------------------|
  64. 3.3 Used APIs/Windows Phone Components
  65. --------------------------------------
  66. Microsoft.Phone.Controls.Panorama
  67. Microsoft.Phone.Controls.Pivot
  68. Microsoft.Phone.Controls.Maps.Map (WP7)
  69. Microsoft.Phone.Maps.Controls.Map (WP8)
  70. 4. Compatibility
  71. -------------------------------------------------------------------------------
  72. - Windows Phone 7 & Windows Phone 8
  73. Tested on:
  74. - Samsung Omnia 7
  75. - Nokia Lumia 820
  76. - Nokia Lumia 920
  77. Developed with:
  78. - Microsoft Visual Studio Express 2012 for Windows Phone
  79. 4.1 Required Capabilities
  80. -------------------------
  81. ID_CAP_MAP (WP8)
  82. ID_CAP_NETWORKING
  83. 4.2 Known Issues
  84. ----------------
  85. None.
  86. 5. Building, installing, and running the application
  87. -------------------------------------------------------------------------------
  88. 5.1 Preparations
  89. ----------------
  90. Make sure you have the following installed:
  91. * Windows 8
  92. * Windows Phone SDK 8.0
  93. * Silverlight Toolkit for Windows Phone 8 SDK Development
  94. * NuGet 2.1 (https://nuget.org/), Visual Studio extension to install and
  95. update third-party libraries and tools in Visual Studio
  96. 5.2 Using the WINDOWS PHONE 8 SDK
  97. ---------------------------------
  98. 1. Open the SLN file:
  99. File > Open Project, select the file wprestaurantapp.sln
  100. 2. Install Silverlight Toolkit for the project.
  101. - Open the Package Manager in Visual Studio:
  102. Tools -> Library Package Manager -> Package Manager Console
  103. - Select wprestaurantapp_WP75 as Default project in Package Manager Console
  104. - Enter installation command to console: PM> Install-Package WPToolkit
  105. - Select wprestaurantapp_WP8 as Default project in Package Manager Console
  106. - Enter installation command to console: PM> Install-Package WPToolkit
  107. - Confirm that WP8 project uses correct Windows Phone Toolkit version:
  108. - Open wprestaurantapp_WP8.csproj file in your favorite editor
  109. - If the file contains a line like this (referring to WP 7 Toolkit)
  110. <HintPath>..\packages\WPtoolkit.4.2012.10.30\lib\sl4-windowsphone71\Microsoft.Phone.Controls.Toolkit.dll</HintPath>
  111. edit the line to refer to the WP 8 Toolkit
  112. <HintPath>..\packages\WPtoolkit.4.2012.10.30\lib\wp8\Microsoft.Phone...
  113. 3. Depending on whether you want to run the WP7 or WP8 version of the
  114. application, select either wprestaurantapp_WP7 or wprestaurantapp_WP8 as
  115. a StartUp Project.
  116. 4. Press F5 to build the project and run it on the Windows Phone Emulator.
  117. 5.3 Deploying to Windows Phone 8
  118. --------------------------------
  119. Please see the official documentation for deploying and testing applications on
  120. Windows Phone devices:
  121. http://msdn.microsoft.com/en-us/library/gg588378(v=vs.92).aspx
  122. 6. License
  123. -------------------------------------------------------------------------------
  124. See the license text file delivered with this project. The license file is also
  125. available online at
  126. http://projects.developer.nokia.com/mapexplorer/browser/trunk/Licence.txt
  127. 7. Related documentation
  128. -------------------------------------------------------------------------------
  129. Learn About Windows Phone Development:
  130. http://msdn.microsoft.com/en-us/ff380145
  131. Windows Phone Dev Center:
  132. http://dev.windowsphone.com/en-us
  133. 8. Version history
  134. -------------------------------------------------------------------------------
  135. 1.4.0 Using Pushpin from WPToolkit for WP 8.
  136. 1.3.0 Support for Windows Phone 8.
  137. 1.2.0 Bug fixes and changes based on reviews; published on the Nokia Developer
  138. website.
  139. 1.1.1 Support for Windows Phone OS version 7.1.
  140. 1.1.0 New feature: modifying existing reservations.
  141. 1.0.0 First version.