Tag: Windows Phone 8
How to Get the Address based on the Co-Ordinates in Windows Phone 8 ?
Below is a sample code snippet that demonstrates how to get the address of the location based on the co-ordinates in Windows Phone 8. How to Get the Address based on the Co-Ordinates in Windows Phone 8 ? In the below code snippet , the latitude and longitude is fixed . The Google’s API is used to get the location details by passing it to…
How to Create an Explicit Style in Windows Phone 8 ?
The developers can utilize the style resources to create styles and use them within the Windows Phone Application. For example , the developers can create a style for the textblock with a key identifier in the app.xaml file and then reuse them in different screens of the application. How to Create an Explicit Style in Windows Phone 8 ? To create an explicit style ,…
How to send SMS in Windows Phone 8 Programatically using C#?
In Windows Phone, the developers can send SMS from their Windows Phone 8 Programatically using the launchers. The Windows Phone SDK provides the SMSComposeTask launcher which can be used to send SMS in Windows Phone 8. Below is a code snippet demonstrating the usage of the SMSComposeTask to send SMS in Windows Phone 8. How to send SMS in Windows Phone 8 Programatically using C#?
How to Get the string from AppResources file in Windows Phone 8 ?
If you want to retrieve the value from the AppResources file in Windows Phone 8 , you can use one of the below options. How to Get the string from AppResources file in Windows Phone 8 ? 1. Using the AppResources.<Property> Assume that the string in the AppResources file is ApplicationTitle and the which contains the value “Abundantcode for Windows Phone development” . , you…
Will the Windows Phone 7 App run on Windows Phone 8 Devices?
This is one of the most frequently asked question by any newbie windows phone developer. Will the developed Windows Phone 7 App run on Windows Phone 8 Devices? The answer to this pretty simple and straight forward. Yes, in most cases, the Windows Phone 7 app will run fine on Windows Phone 8 devices. But the only drawback here is that the apps targeting the…
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?
Sending Email using URI LaunchUriAsync in Windows Phone 8
Below is a sample code snippet of the button click event which launches the Email App and then creates a new Message with the specified email address. Sending Email using URI LaunchUriAsync in Windows Phone 8 Once the Email App is launched, the user can type the message and tap the send icon to send the email.
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…
How to Download Map in Windows Phone 8 Programatically using C#?
The Windows Phone 8 SDK provides the MapDownloadTask which lets the users to download the region map which can be used for offline usage. This will launch the Map Download App which lets the users to select the map which needs to be downloaded. How to Download Map in Windows Phone 8 Programatically using C#? Below is a sample code snippet demonstrating how the user…
Launching the Wifi Settings App using URI Scheme in Windows Phone 8
Below is a sample code snippet demonstrating on how to launch the Wifi Settings App via the URI Scheme and LaunchUriAsync method in Windows Phone using C#. Launching the Wifi Settings App using URI Scheme in Windows Phone 8
Alternate Method to Navigate from Page in Windows Phone 8 using C#
The NavigationService.Navigate method i.e. generally used to navigate from one page to another page in Windows Phone 8 SDK. The NavigationService also exposes a property “Source” which can be used to Get/Set the URI of the page . By Setting this property, the Application Frame loads the specified page. Alternate Method to Navigate from Page in Windows Phone 8 using C# Below is a sample…
How to Terminate an Windows Phone 8 App using C#?
If you want to programmatically terminate the windows phone 8 application , you can use the Application.Terminate() method . How to Terminate an Windows Phone 8 App using C#? When using the Application.Terminate() , the developers should make sure that all the necessary data is saved because , the Application Closing event handler wont be raised in this case.