Tag: Windows Phone
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…
How to allow user to review apps within Windows Phone 8.1 Universal Apps ?
If you want to integrate the option for the user to rate and review within the app , you can use the LaunchUriAsync method to do it. Below is a sample code snippet that demonstrates how to do it. How to allow user to review apps within Windows Phone 8.1 Universal Apps ?
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#?
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 ?
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…
How to embed Rectangle inside a Button in Windows Store App using C#?
Below is a sample code demonstrating how to embed a Rectangle inside a Button in Windows Store App using C#?. How to embed Rectangle inside a Button in Windows Store App using C#? The Xaml page with the Grid named “Panel” looks like the one shown below.