Tag: Windows Phone
How to Get the Name of the Windows Phone Device which is identified by the remote peers ?
How to Get the Name of the Windows Phone Device which is identified by the remote peers ?
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…
The Windows Phone Emulator wasn’t able to ensure the virtual machine was running
Today , I encountered the below error when trying to run my windows phone project after upgrading my system from Windows 8 to Windows 8.1 The Error Message was “The Windows Phone Emulator wasn’t able to ensure the virtual machine was running: Something happened while starting a virtual machine:”Emulator WVGA.<Name>” could not initialize(Virtual machine ID <ID>) Not enough memory in the system to start the…
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…
Visual Assets Tab in Package Manifest file
The Visual Assets tab in the package manifest file lets the developers set the characteristics of the application’s title , splash screen and the images used within the application for various scenario. You will be able to specify the splash screen for your Windows Phone and Windows Store separately because the dimensions are different for phone and the tablet app. The Splash screen for the…
How to Detect Windows Phone OS version using C#?
The Windows Phone SDK provides the Environment.OSVersion property which can be used to detect the version of the Operating System uses in Windows Phone (Windows Phone 8 / Windows Phone 7). Below is a code snippet that demonstrates how to detect the Windows Phone OS Version using C#. How to Detect Windows Phone OS version using C#?
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…
Can the PDF file be saved in the Media Library of Windows Phone?
This is one of the common question asked by few developers or Windows phone users. Can the PDF file be saved in the Media Library of Windows Phone? The Media Library of Windows Phone allows the users to save only the Images and hence there is no possibility to save PDF or files of any file format in it.
How to Copy a Song to Windows Phone Music Hub/Library using C#?
Below is a sample code snippet that demonstrates how to copy a song (audio) to the Windows Phone hub/library Programatically using C#. How to Copy a Song to Windows Phone Music Hub/Library using C#? The SaveFileToIsolatedStorage is explained in the How to Save File to Isolated Storage in Windows Phone 8? Article
Can i run Windows Phone 8.1 App on Windows Phone 8 device ?
If you are a developer who is developing Windows Phone 8.1 apps for the first time or if you are a beginner then you might have this question. Can i run Windows Phone 8.1 Project on Windows Phone 8 device ? If you develop a app targeting Windows Phone 8.0 , then this will run on Windows Phone 8.1 device but if you are developing…
How to Get the Height and Width of the Page on changing orientation in Windows Phone?
Sometimes, you might want to determine the Height and Width of the Page in a Windows Phone app in order to adjust the screen and the UI elements in the Orientation changed event. The actual size of the page will not be modified until the OnOrientationChanged event is called and hence it is necessary to use the Dispatcher which lets you get the current height…