Tag: Windows Phone 8
How to Create an Implicit Style in Windows Phone 8 ?
In one of the previous article , we demonstrated how to create an explicit style in Windows Phone 8 for TextBlock . In this article , we will explore how one can create an implicit style in Windows Phone 8. How to Create an Implicit Style in Windows Phone 8 ? To create an Implicit style , the steps are pretty simple , don’t specify…
How to Save File to Isolated Storage in Windows Phone 8?
There are times when you want to copy the files to isolated storage in your Windows Phone 8 App which you can do it easily using C#. Below is a sample code snippet that demonstrates the copying of file to isolated storage in Windows Phone 8 using C#? How to Save File to Isolated Storage in Windows Phone 8? Calling the function Note: make sure…
How to Enable AirplaneMode from the Windows Phone 8 App?
Below is a sample code snippet that demonstrated how the developers can use the ConnectionSettingsTask launcher to enable or disable the AirplaneMode from the Windows Phone 8 App. How to Enable AirplaneMode from the Windows Phone 8 App?
How to Launch Map Application in Windows Phone 8 using C#?
Below is a sample code snippet that demonstrates how to launch the Maps Application in Windows Phone 8 programmatically using C#. How to Launch Map Application in Windows Phone 8 using C#?
How to Open External Link using Hyperlink Control in Windows Phone 8?
The HyperLinkButton provides one of the easiest way to navigate to an external link without using the WebBrowserTask in Windows Phone 8. Below is a sample code snippet demonstrating how to use the HyperLinkControl to open external link in Windows Phone 8. How to Open External Link using HyperLinkControl in Windows Phone 8? Note that you need to specify the Target name to _blank for…
Displaying data in flat list in Windows Phone 8 LongListSelector Control
Below is a sample code snippet demonstrating the display of the flat list in the Windows Phone 8 LongListSelector Control. Displaying data in flat list in Windows Phone 8 LongListSelector Control LongListSelector Declaration <phone:LongListSelector Name=”lstWebsites” HorizontalAlignment=”Left” VerticalAlignment=”Top” LayoutMode=”List” IsGroupingEnabled=”False” Width=”446″> <phone:LongListSelector.ItemTemplate> <DataTemplate> <StackPanel> <TextBlock Text=”{Binding Name}” /> </StackPanel> </DataTemplate> </phone:LongListSelector.ItemTemplate> </phone:LongListSelector> Model public class WebsiteName { public string Name { get; set; } public int…
How to Deserialize JSON data in Windows Phone 8 app ?
To Deserialize JSON data in Windows Phone 8 , the developers can utilize the json.NET . How to Deserialize JSON data in Windows Phone 8 app ? Below is a sample code snippet that demonstrates how to Deserialise JSON data in Windows Phone 8 app.
How to Cancel Navigation Programatically in the OnBackKeyPress Event in WP8?
Below is a sample code snippet demonstrating how to cancel Navigation Programatically in the OnBackKeyPress Event in WP8? How to Cancel Navigation Programatically in the OnBackKeyPress Event in WP8?
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 ?
How to get Installed Speech Recognizers from Windows Phone using C#?
Below is a sample code snippet demonstrating how to retrieve the installed speech recognizers from Windows Phone using C#. How to get Installed Speech Recognizers from Windows Phone using C#? Output en-US de-DE zh-TW fr-FR it-IT ja-JP pl-PL pt-BR ru-RU en-IN zh-CN en-GB es-MX zh-HK es-ES
Which Events to use to Save the Transient State in Windows Phone 8?
It is necessary for the developers to save the transient and the persistent state of the app when the application goes to the deactivated status. Which Events to use to Save the Transient State in Windows Phone 8? The PhoneApplicationPage’s OnNavigatedFrom and OnNavigatedTo methods can be used to save the transient state in Windows Phone 8.
How to Launch the Email and Accounts Settings App using URI Scheme in Windows Phone 8?
Below is a sample code snippet demonstrating how launch the Email and Accounts Settings App via the URI Scheme and LaunchUriAsync method in Windows Phone using C#. How to Launch the Email and Accounts Settings App using URI Scheme in Windows Phone 8?