ListView in WinJS based Windows Store Application

In 2012 I wrote a post List View Data Binding in Windows 8 JavaScript Metro Application. If you follow along this post some of the code will not work. So I decided to write a post again on working with ListView in WinJS. There are three simple steps to work with the ListView. Step1: Create…… Continue reading ListView in WinJS based Windows Store Application

Working with app bar in WinJS based Windows Store Application

In this post we will learn to work with the app bar in a WinJS based Windows Store application. Let us start with creating an app bar. The app bar can be created by setting the data-win-control value of a div to WinJS.UI.AppBar.   Now you can add command buttons in an app bar as…… Continue reading Working with app bar in WinJS based Windows Store Application

Capture photo and save on the disk in WinJS based Windows Store App

In this post we will learn to capture a photo and save the captured photo on the disk. You can work with camera and capture a photo in the WinJS using the Windows.Media.Capture.CameraCaptureUI(). Let us start with creating the UI for the application. In the UI, we will have Application bar with two buttons One…… Continue reading Capture photo and save on the disk in WinJS based Windows Store App

Classes in WinJS

Even if we have heard many times about the classes in the JavaScript, it is not an object oriented language. Rather JavaScript is a prototypal language. Working with classes in JavaScript can be but cumbersome syntactically. WinJS is a JavaScript library and it reduced the syntactical complexity of working with classes. In this post we…… Continue reading Classes in WinJS

Data Binding and Observable in WinJS

Source code on GitHub In this post we will learn how to work with the data binding and observable class in the Windows Store application created using WinJS. We will learn to work with Data binding Two way data binding Observable object By default WinJS Provides one way binding When the data source is updated…… Continue reading Data Binding and Observable in WinJS

Store and Retrieve JSON data from Local storage in Windows Store App

In this tutorial step by step we will learn to save and Retrieve JSON data in Local folder of Windows Store App. Follow following steps to save and retrieve JSON data in local storage. Step 1 Right click on project and add Nuget package and add package of Json.NET. Step 2 Let us assume that…… Continue reading Store and Retrieve JSON data from Local storage in Windows Store App

Solved: WWAHost.exe remote endpoint was not reachable error in JavaScript Windows Store App

I was working on my office machine. While working I opened a JavaScript based Windows Store Application. When I tried to run application I got following exception, I was baffled due to this exception. After sort of research I found that I was on VPN. I have no idea why on VPN this exception occurred.…… Continue reading Solved: WWAHost.exe remote endpoint was not reachable error in JavaScript Windows Store App

Solved Exception in Passing Relative URI to Windows Runtime

While working today on a Windows Store Application I had a requirement to work with URI. Business class was as follows,   And I created instance of Product class in usual way setting values for both properties. I had put all images in ProductImages folder.     On running application I got following exception that…… Continue reading Solved Exception in Passing Relative URI to Windows Runtime

Binding Image with Picture Library Images in Windows Store Application using FileOpenPicker

In this post we will take a look on binding image with Picture Library Images in Windows Store. In this post we will follow following steps User will click on a button On button click user will be select an image from Picture Library Selected image will be bind to image control on the page…… Continue reading Binding Image with Picture Library Images in Windows Store Application using FileOpenPicker

Create Flickr Photo Search Windows Store App in XAML

In this post we will create application shown in below video. Essentially we will see how we can work with GridView and ListView in Windows 8 Application Consuming REST Service in Windows 8 Application Share Contract in Windows 8 Application http://youtu.be/-tnuFWxeIqQ To create on Flickr based application you need API Key from Flickr. You can…… Continue reading Create Flickr Photo Search Windows Store App in XAML