GithubHelp home page GithubHelp logo

microsoft / diner-wp Goto Github PK

View Code? Open in Web Editor NEW
23.0 70.0 19.0 8.86 MB

The Diner example application demonstrates how to build simple, catalog-type application, for Windows Phone based on local XML data. It is straightforward to convert the application to use internet resources instead of local XML-resources. The application is designed in such a way that it is easy to replace the content and visual style for different restaurants.

License: Other

C# 100.00%

diner-wp's Introduction

Diner

This example application demonstrates how to build a simple application based on panorama control for Windows Phone using Microsoft Silverlight.

Support for Windows Phone 8 was made according to guidelines given in article http://www.developer.nokia.com/Resources/Library/Lumia/#!co-development-and-porting-guide.html. The solution consists of two top-level projects sharing the same source code, one targeting WP 7 and the other targeting WP 8. Bing Maps control is used in WP 7 project and the new Map control introduced in Windows Phone is used in WP 8 project.

This example application is hosted in GitHub: https://github.com/Microsoft/diner-wp

Developed with:

  • Microsoft Visual Studio 2010 Express for Windows Phone
  • Microsoft Visual Studio Express for Windows Phone 2012.

Compatible with:

  • Windows Phone 7
  • Windows Phone 8

Tested to work on:

  • Samsung Omnia 7
  • Nokia Lumia 820
  • Nokia Lumia 920

Instructions

Make sure you have the following installed:

  • Windows 8
  • Windows Phone SDK 8.0
  • Latest NuGet Package Manager (>2.7.1) from https://nuget.org/ to enable NuGet Package Restore

To build and run the sample:

  • Open the SLN file
    • File > Open Project, select the file wprestaurantapp.sln
  • Install Windows Phone Toolkit for the project.
    • Right click solution wprestaurantapp in Solution Explorer -> select Manage NuGet Packages for Solution
    • Search for 'wptoolkit' and install the 'Windows Phone toolkit' package
  • Depending on whether you want to run the WP7 or WP8 version of the application, select either wprestaurantapp_WP7 or wprestaurantapp_WP8 as a StartUp Project.
  • Select the target, for example 'Emulator WVGA'.
  • Press F5 to build the project and run it on the Windows Phone Emulator.

To deploy the sample on Windows Phone device:

About the implementation

Important folders:

Folder Description
/ Contains the project file, the license information and this file (README.md)
wprestaurantapp_WP75 Root folder for the WP7 implementation files.
wprestaurantapp_WP8 Root folder for the WP8 implementation files.
wprestaurantapp_WP75/content Graphic files.
wprestaurantapp_WP75/Properties WP7 Application property files.
wprestaurantapp_WP75/SampleData Sample data file.
wprestaurantapp_WP75/ViewModels ViewModel implementation files.
wprestaurantapp_WP8/Properties WP8 Application property files.

Important files:

File Description
MainPage.xaml.cs Class responsible for displaying the panorama view of the application.
MainViewModel.cs Class responsible for loading restaurant data from disc.
RestaurantData.cs Class describing the restaurant properties shown.

Known issues

No known issues.

License

See the license file delivered with this project.

Version history

  • 1.5.0 Support for 720p resolution and NuGet package restore.
  • 1.4.0 Using Pushpin from WPToolkit for WP 8.
  • 1.3.0 Support for Windows Phone 8.
  • 1.2.0 Bug fixes and changes based on reviews; published on the Nokia Developer website.
  • 1.1.1 Support for Windows Phone OS version 7.1.
  • 1.1.0 New feature: modifying existing reservations.
  • 1.0.0 First version.

diner-wp's People

Contributors

mikpiipp avatar tompaana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.