Tag: Windows Phone

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

XAP File in Windows Phone

XAP is the file which is used to deploy the app to the unlocked windows phone 8 device or submit the app for windows phone store. In simple terms, XAP is the output of the Windows Phone 8 project in Visual Studio and is a compressed files which contains assemblies, images, configuration files etc. The XAP file also contains 2 more important application manifest file…

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 use Phrase List Grammars for recognising Speech in Windows Phone Apps?

The List grammars is one of the grammars that the developers can use to create their own custom grammars. With this technique, simply create an array or collection of strings which are the phrase list and set it to the grammars list of the SpeechRecognizer Object. How to use Phrase List Grammars for recognizing Speech in Windows Phone Apps? Below is a code snippet demonstrating…

How to Get the List of Appointments from the Calendar App in Windows Phone using C# ?

If you want to programmatically get the list of appointments from the calendar application of your Windows Phone device programmatically , you can use the Microsoft.Phone.UserData.Appointments. How to Get the List of Appointments from the Calender App in Windows Phone using C# ? Enable the ID_CAP_APPOINTMENTS in the WMAppManifest file and then create an instance of the Appointments class and call the SearchAsync method with…

Windows Phone Tutorials

The Windows Phone tutorials section in Abundantcode.com will help the developers to know about Windows Phone development and get started with the App development. The Windows Phone tutorials section will include step by step tutorials, How to, tips, tricks etc. on the Windows Phone App development. These Windows Phone tutorials will be useful for anyone who are new or experienced Windows Phone developers.

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…

How to Get Directions in Map in Windows Phone 8 using C#?

Below is a sample code snippet that demonstrates How to Get Directions in Map in Windows Phone 8 using C#? The Start point is not specified for the MapsDirectionsTask object and hence takes the users current location. How to Get Directions in Map in Windows Phone 8 using C#?

Application Class in Windows Phone 8 Project

The Application class in the Windows Phone Project performs the start-up activities of the windows phone app. The Windows Phone 8 SDK by default creates the App.xaml file which inherits from Application class. This file is created when the project is created. The App.xaml can be used to store application level resources, styles etc. whereas the App.xaml.cs file is the code behind file where the…

What is the Use of Capabilities in Windows Phone Application Manifest File ?

When working with the Windows Phone 8 development , you would have noticed the Windows Phone Application manifest file which includes an tab called “Capabilities” . What is the Use of Capabilities in Windows Phone Application Manifest File ? The Windows Phone Application Manifest File contains the metadata for your app. The capabilities in WP8 provides the users with information about the app and which…

How to Create ApplicationBar in Windows Phone using XAML ?

In one of the previous articles , we discussed how to create ApplicationBar programmatically during runtime using C# . This article will demonstrate how to create ApplicationBar using XAML. How to Create ApplicationBar in Windows Phone using XAML ? Below is a sample XAML code snippet which creates an ApplicationBar with one Menu Item and two ApplicationBarIconButton <phone:PhoneApplicationPage.ApplicationBar> <shell:ApplicationBar> <shell:ApplicationBar.MenuItems> <shell:ApplicationBarMenuItem IsEnabled=”True” Text=”ABundantCode”/> </shell:ApplicationBar.MenuItems> <shell:ApplicationBarIconButton…

How to Connect PC to internet through Windows Phone’s device internet?

There are times when you want to connect your laptop / PC to internet via the Phone’s internet connection (GPRS/3G/4G). This may be needed especially when you are travelling a lot. You can use the internet connection of your Windows Phone 8(HTC Windows Phone 8X) to connect on your PC. How to Connect PC to internet through Windows Phone’s device internet? Launch the Settings App…

How to Launch the Application Details Page in Windows Phone Store using C#?

The Windows Phone 8 SDK provides the MarketplaceDetailTask which lets the users to launch the specified application’s details page in the Windows Phone Store from the Windows Phone App. How to Launch the Application Details Page in Windows Phone Store using C#? Below is a sample code snippet that demonstrates how to use the MarketplaceDetailTask. Modify the Content Identifier to specify the app for which…

What are Attached Properties in XAML?

The Attached Properties in XAML are the properties which can be used by other classes. A simple example of the attached properties is the Grid.Row property in the Stack Panel which defines where in the grid, the stack panel will be displayed in the Grid. What are Attached Properties in XAML ?

Can Windows Phone 8 SDK be installed on 32 bit Windows 8 system?

This is one of the most frequently asked question by most of the developers. Can I install Windows Phone 8 SDK on 32 bit Windows 8 machine? The simple answer is no. The Windows Phone 8 SDK is supported on Windows 8 64 bit (x64) client versions. Know more about the Windows Phone 8 SDK prerequisites here

How to Use SpeechRecognizer in Windows Phone App using C#?

Below is a sample code snippet demonstrating how to use the SpeechRecognizerUI in your Windows Phone app using C#. Note that by default the speech recognizer API uses the default speech grammar accessed via the Microsoft cloud service and hence requires the network connection to be available for the below code snippet to work. How to Use SpeechRecognizer in Windows Phone App using C#? When…