Tag: Windows Phone 8

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 Get the Desired Accuracy Level of Location using Geolocator in Windows Phone 8?

There are 3 different technologies that help the phone get the current location of the phone. These include Wifi, Cellular and A-GPS. Each one of these technologies has their own advantages and disadvantages in terms of the power consumption and the accuracy level. The Geolocator class allows the developers to specify at what level of accuracy or technology to be used to find the location…

How to Set the Windows Phone 8 icons in Visual Studio 2012?

You can set the icons for your Windows Phone 8 app in Visual Studio 2012 using the WMAppManifest.xml manifest file. The Visual Studio 2012 includes a GUI editor for editing WMAppManifest.xml manifest file. How to Set the Windows Phone 8 icons in Visual Studio 2012? You can find the WMAppManifest.xml, under the properties node of the project in the Visual Studio solution explorer. Just double…

Can Cycle Tile with Remote Images be created in Windows Phone 8?

For the Windows Phone developers who are looking for integrating the Tile feature in their Windows Phone Apps might be aware of this cool feature called “CycleTile template”. There are times when the developers may want to use the remote images for the cyclic tiles in their Windows Phone App. Can Cycle Tile with Remote Images be created in Windows Phone 8? The Cycle Tile…

Application Deployment Tool in Windows Phone 8 SDK

The Application Deployment tool is a tool that gets installed when installing the Windows Phone 8 SDK on the Windows 8 PC. What is the use of Application Deployment Tool? If you want to deploy the Windows Phone App (XAP) file to your Windows Phone 8 developer unlocked device, you need the “Application Deployment tool”. The Application Deployment tool allows the developers to select the…

Application States in Windows Phone 8

The Windows Phone 8 supports 2 different types of Application states Transient Persistent The transient state is stored at the application level and is discarded when the application is terminated. The developers can utilize the PhoneApplicationService.State and PhoneApplicationPage.State to store the transient state data. The Persistent State is generally saved to the isolated storage and is available when the application launches.

Can Mail be sent in Background in Windows Phone 8 using Launcher?

In one of the previous article, we explained about sending email in Windows Phone 8 using EmailComposeTask which invokes the UI for the user with the content of the email. When the user taps on the send button , the email is sent to the user. Can Mail be sent in Background in Windows Phone 8 using Launcher? Currently , the Windows Phone 8 SDK…

How to Save an Appointment in Windows Phone 8 using C# ?

If you want to allow the user to create or save an appointment within the Calendar application in Windows Phone 8 , you can do it using the SaveAppointmentTask launcher. How to Save an Appointment in Windows Phone 8 using C# ? To use the SaveAppointmentTask launcher , first enable the ID_CAP_APPOINTMENTS in the WMAppManifest file. Create an instance of the SaveAppointmentTask class and set…

How to Get the Current Location in Windows Phone 8?

The Windows Phone 8 SDK provides the Geolocator class which can be used to monitor and get the current location from Windows Phone 8. The Geolocator API is part of the WinPRT API and contains the necessary events for detecting the changes in the Geographic position of the Windows Phone. Below is a sample soucrecode demonstrating how to get the Current Location in Windows Phone…

Can the Internet Explorer Share Picker be extended in Windows Phone 8 ?

There are times when one might want to implement the sharing of links from the Windows Phone 8 Internet Explorer via the Share Picker. similar to the Photo App Share Picker. Is it possible to extend Internet Explorer’s share picker on Windows Phone 8 ? Unfortunately , No . It is not possible to extend the Share Picker in Windows Phone (IE Mobile) currently.

How to Convert a List to ObservableCollection in C#?

This simple blog post will explain how to convert a List of Object to ObservableCollection of Object in C# and Windows Phone 8. There are times when you want to convert a List of Object to ObservableCollection specially when binding an ObservableCollection to the LongListSelector etc. The reasons for this can be several. How to Convert a List to ObservableCollection in C#? To Convert a…

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…

How to Add Border to the Ellipse Control in Windows Phone 8 ?

Looking for an option to add border with a different color to the Ellipse Control in Windows Phone 8 ? Here’s a simple way to do it. How to Add Border to the Ellipse Control in Windows Phone 8 ? Assume that the Ellipse tag in the XAML is as shown below. The Ellipse has the background color “Chocolate”. <Ellipse Height=”52″ Width=”52″ Fill=”Chocolate”/> We can…