Tag: wp8
How to Search for an App by Publisher in Windows Phone Store using URI Scheme from WP8 App?
Below is a sample code snippet demonstrating Search for an App in Windows Phone Store using URI Scheme from WP8 App via the URI Scheme and LaunchUriAsync method in Windows Phone using C#. How to Search for an App by Publisher in Windows Phone Store using URI Scheme from WP8 App?
How to Launch the Device Bluetooth Settings App from the Windows Phone 8 App?
Below is a sample code snippet that demonstrated how the developers can use the ConnectionSettingsTask launcher to launch the windows phone device’s Bluetooth settings app from the Windows Phone 8 App. How to Launch the Device Bluetooth Settings App from the Windows Phone 8 App?
What are the Different Tile templates in Windows Phone 8?
The Windows Phone 8 SDK provides the developers with the option to use one of the below tile templates in their windows phone 8 app. 1. TemplateFlip 2. TemplateCycle 3. TemplateIconic What are the Different Tile templates in Windows Phone 8? The TemplateFlip provides the developers to display information in the front and the back side of the tile where the tile flips front and…
Grammars available for Speech Apps in Windows Phone SDK
When implementing the speech recognition in the windows phone apps, we should use the predefined grammars to identify if the input is valid or not. There are generally 3 different types of grammars that can be used when implementing speech feature in your Windows Phone app. Grammars available for Speech Apps in Windows Phone SDK Built-In grammars – There are 2 types of built in…
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…
Programmatically Go Back to Previous Page in Windows Phone App
The developers can use the NavigationService.GoBack method to navigate to the previous page of the Windows Phone App. When using the NavigationService.GoBack , it is necessary to check if the Navigation can go back using the property NavigationService.CanGoBack as shown below. Programmatically Go Back to Previous Page in Windows Phone 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 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
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 Search for an App in Windows Phone Store using URI Scheme from WP8 App?
Below is a sample code snippet demonstrating Search for an App in Windows Phone Store using URI Scheme from WP8 App How to Search for an App in Windows Phone Store using URI Scheme from WP8 App?
Launch URL in Web Browser using LaunchUriAsync in Windows Phone 8
The Windows.System namespace provides the Launcher class which exposes the method LaunchUriAsync which can be used to launch the Web Browser and navigate to the external Uri as described below. Launch URL in Web Browser using LaunchUriAsync in Windows Phone 8 Below is a sample code snippet demonstrating how to Launch URL in Web Browser using LaunchUriAsync in Windows Phone 8
How to Launch the Device Wifi Settings App from the Windows Phone 8 App?
Below is a sample code snippet that demonstrated how the developers can use the ConnectionSettingsTask launcher to launch the windows phone device’s Wifi settings app from the Windows Phone 8 App. How to Launch the Device Wifi Settings App from the Windows Phone 8 App?
WP8 Error – Cannot clear the icon while in a list Parameter name: value
When using the ApplicationBar in the Windows Phone Application and dynamically setting the IconButtons from code behind , I encounter this error . Cannot clear the icon while in a list Parameter name: value The cause of the error and the fix is pretty straight forward . I was setting the IconUri of the ApplicationBarIcon button programmatically and the value of the IconUri was not…
Alternate Way of getting the Unique DeviceId in Windows Phone 8
The Windows Phone 8 SDK provides the PublisherHostId defined in the HostInformation class which can be used to get the Unique DeviceId in Windows Phone which is specific to the publisher. Alternate Way of getting the Unique DeviceId in Windows Phone 8 Below is a sample code snippet demonstrating how to get the Unique DeviceId in Windows Phone 8 using PublicherHostId. Note that the access…
Cross-Platform Conditional Compilation Symbol for Windows Phone
There are times when you want to build an app targeting different platforms in Windows using the conditional compilation with pre-processor directives. Cross-Platform Conditional Compilation Symbol for Windows Phone If you are targeting the Xbox platform, one may use the pre-processor directive XBOX, similarly if you are targeting the Windows Phone platform , you can use the WINDOWS_PHONE pre-processor directive as shown below. #if WINDOWS_PHONE…
Exception from HRESULT: 0x800455BC Error when using SpeechRecognizer in WP8
When using the SpeechRecognizerUI in your windows phone 8 app, there are times when you receive the “Exception from HRESULT: 0x800455BC Error”. The outcome of this error is “When you call the SpeechRecognizerUI’s RecognizeWithUIAsync() method , it displays a dialog for few seconds and then disappears immediately. When you debug the app, you will find the error “Exception from HRESULT: 0x800455BC ” with the stack…
IsolatedStorage File or Windows Storage APIs – Which one to Use for WP8 App?
The Windows Phone 8 SDK includes the Windows Storage API which can be used in the Windows Phone 8 app to store and retrieve data from the Storage. The Windows Phone 7 SDK already provided the IsolatedStorage APIs. Which one to use? IsolatedStorage File or Windows Storage API. The answer is simple. If you are targeting the Windows Phone 8 mainly, then the better option…