Tag: Windows Phone
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.
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…
Can we develop Windows Phone 8.1 App using HTML5 , JavaScript and CSS ?
Most of the developers with the web development skills might be keen to know if they can use their existing web development skills (HTML , JavaScript and CSS) to build Windows Phone 8.1 App . Can we develop Windows Phone 8.1 App using HTML5 , JavaScript and CSS ? Yes , you can develop Windows Phone 8.1 App using HTML5 , JavaScript and CSS ….
UnauthorizedAccessException or unhandled Exception when accessing Geolocator in Windows Phone
When using the Geolocator GetGeopositionAsync () method, it is necessary to handle the necessary exceptions that may arise based on various scenarios. One such scenario is the Location is disabled by the use in the Phone Settings. In this case, when the Geolocator’s GetGeopositionAsync() method is called, you will receive the UnauthorizedAccessException or unhandled Exception as shown below. “An exception of type ‘System.Exception’ occurred in…
How to Not Allow Windows Phone devices to install App which don’t meet Requirements ?
There are times when you want to disable or not allows the Windows Phone devices to install the WP8 app that doesn’t meet the specific hardware requirements . How to Not Allow Windows Phone devices to install App which don’t meet Requirements ? You can do it by setting the requirements in the WMAppManifest.xml file. The Windows Phone Application manifest file includes a tab called…
What threads does the Windows Phone Apps use?
The Windows Phone XAML App generally uses 2 threads UI thread Composition thread UI thread is actually the main thread in the Windows Phone App and one of the main functionality of this thread is the handling of the user input, creating the XAML objects etc. The composition thread was a new addition starting from Windows Phone 7.5 which takes care of the animations, graphics…
Downloading and Installing Windows Phone 8 SDK
The Windows Phone 8 SDK can be downloaded from Windows Phone Dev Centre (Microsoft Download Centre). The following tools are installed when the Windows Phone 8 SDK is installed. Visual Studio Express 2012 Microsoft Expression Blend for Windows Phone. Windows Phone Emulator Along with this, the other necessary tools like App Deployment, Windows Phone Device registration etc. are also installed. If the Visual Studio 2012…