Tag: App

Windows Store App Project Templates

There are 5 different templates that are available in Visual Studio 2013 for the developers developing Windows Store App . Windows Store App Project Template 1. Blank App – This is one of the basic template which contains a single default.html file along with the default.css and default.js files. 2. Navigation App – If you app requires multiple pages , this is one of the…

Thread.Sleep equivalent in UWP App

If you are looking for an equivanet for Thread.Sleep method in UWP apps , you can use the Task.Delay method instead. The reason for this is that Task.Delay works like a pause method for the asynchronous call.

File Templates for developing Windows 8 App using XAML

The Windows 8 SDK provides the developers to choose from several types of file templates for creating the Windows 8 Modern UI App. These file templates include Basic Page Split Page Items Page Item Detail Page Grouped Items Page Group Detail Page Resource Dictionary Templated Control User Control File Open Picker Contract Search Contract Search Target Contract

How to Terminate an Windows Phone 8 App using C#?

If you want to programmatically terminate the windows phone 8 application , you can use the Application.Terminate() method . How to Terminate an Windows Phone 8 App using C#? When using the Application.Terminate() , the developers should make sure that all the necessary data is saved because , the Application Closing event handler wont be raised in this case.

How to Implement Rating Control in Windows Phone 8 App ?

If you are looking to implement the rating control in your windows phone 8 app which lets the users to rate an item within the specified values/stars , here’s an useful control from Windows Phone toolkit called “RatingControl” which can used . <Toolkit:Rating Height=”30″ Grid.Row=”1″ Value=”0.6″ ItemCount=”0″ x:Name=”ctAbundantcodeRating”> You can download Windows Phone Toolkit via NuGet manager from Visual Studio 2012.

Capabilities needed for Including Speech in the Windows Phone App

The Windows Phone 8 includes several features that supports Speech to be included in your Windows Phone App. In order to include the speech recognition features in the windows phone app, the developers must include 2 capabilities in their windows phone app in the WMAppManifest.xml app manifest file. ID_CAP_SPEECH_RECOGNITION ID_CAP_MICROPHONE Capabilities needed for Including Speech in the Windows Phone App To set these capabilities in…

How to refer to the file in Windows Phone app using ms-appx ?

When using the Speech recognition , you might refer to the Voice Command Definition file within your project . Assuming that the file name is AbundantcodeGrammar.xml . you might refer to the file with the ms-appx as shown below. new Uri(“ms-appx:///AbundantcodeGrammar.xml”,UriKind.RelativeOrAbsolute); When referring to the file at runtime , there are times when you might receive an error 0x80070002 error – The system cannot find…

How to create a new Windows Phone app to Connect to Mobile Services in Windows Azure?

This article will explain how the developers can create a new windows phone app which connects to the Windows Azure Mobile Services. How to create a new Windows Phone app to Connect to Mobile Services in Windows Azure? 1. Create a Windows Azure Mobile Services as described in the article How to create a new Windows Azure Mobile Service? 2. Select the created mobile service…

Preventing the Orientation from being changed in Windows Phone App

The PhoneApplicationPage has the property Supported Orientation which is used to restrict the orientation of the page in a Windows Phone App. It accepts the values Portrait Landscape PortraitOrLandScape How to Prevent the Orientation from being changed in Windows Phone App? Setting the Supported Orientation to Portrait, Landscape will restrict the orientation from being changed when the windows phone device is rotated. If the Supported…

Creating Namespace in WinJS for Windows Store App ?

When developing Windows Store App using WinJS library , there are times when you want to create a namespace . You can use the WinJS.Namespace.define() method to create a namespace. Below is a sample code snippet demonstrating how to create a namespace in WinJS for Windows Store App using WinJS. Creating Namespace in WinJS for Windows Store App ?

Sending SMS from a Windows Phone 8.1 App

Do you want to send SMS from your Windows Phone 8.1 App ? . You can use the ChatMessage class in Windows Runtime to do it. Sending SMS from a Windows Phone 8.1 App Here’s a code that demonstrates how to send SMS from a Windows Phone 8.1 App .

How to Get a developer license to develop Windows Phone store app ?

When you installed the Windows Phone 8.1 SDK and try to create and run the first Windows Phone application . You will be prompted to get a free developer license which is necessary to develop and test the windows phone store app on the Windows 8.1 PC before publishing and getting it certified in the store . How to Get a developer license to develop…