Simple example for browsing photos and music on Windows Phone. Media Viewer Silverlight is based on FileList example application implemented with Qt Quick.
Перейти к файлу
Tomi Paananen fa7f4fe8d8 Updated copyright and license information. 2014-04-25 13:55:56 +03:00
MediaViewer Initial commit. 2013-10-25 15:12:26 +03:00
doc Added screenshots. 2013-10-30 11:26:57 +02:00
Licence.txt Updated copyright and license information. 2014-04-25 13:55:56 +03:00
MediaViewer.sln Initial commit. 2013-10-25 15:12:26 +03:00
README.md Updated README.md 2013-10-30 16:30:36 +02:00
mediaviewer-silverlight-icon.png Initial commit. 2013-10-25 15:12:26 +03:00

README.md

Media Viewer example

Media Viewer is a Windows Phone example application implemented with Silverlight. The application is ported from the FileList Qt Quick example.

Media Viewer enables the user to explore a list of pictures and music files stored on their device. It's also possible to preview an image, play a music file, and check the details of the selected file on a separate page.

This example application is hosted in GitHub: https://github.com/nokia-developer/media-viewer

For more information on porting, visit the wiki page: https://github.com/nokia-developer/media-viewer/wiki

This project is compatible with Windows Phone 7 and Windows Phone 8.

  1. Building and deploying with Microsoft Visual Studio

  1. Open the Solution file (.sln): File > Open Project, select the file MediaViewer.sln

  2. Select the target, either emulator or device.

  3. Press F5 to build the project and run it in the selected target. If the selected target is device, the app will deployed on the phone.

  4. Implementation


Folders:

  • The root folder contains the project file, App.xaml file, resource files, license information, and this file (README.md).
  • Pages: Contains pages .xaml and xaml.cs files.
  • ViewModels: Contains model classes for views.
  • Converters: Contains value converter classes.

Important files/classes:

File Description
App.xaml Encapsulates a Silverlight application
MainPage.xaml Main page implementation containg pivot whose items represent pictures and music categories
PicturePreviewPage.xaml Picture preview page implementation
SongDetailsPage.xaml Song details page implementation
CategoryDetailsModel.cs Base class for category models
PicturesCategoryModel.cs Model used for pivot pictures category item
MusicCategoryModel.cs Model used for pivot music category item
PicturesPreviewModel.sc Model for picture preview page
  1. Version history

  • Version 1.0: The first release.