Tag: Windows Phone 8

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…

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…

How do take Screenshot in Windows Phone 8 device?

The Windows Phone 8 allows the users to take screenshot of the current screen. This was a feature that was included in Windows Phone 8. How do take Screenshot in Windows Phone 8 device? 1. Hold the Power button and the Windows Key simultaneously. 2. This will take a screenshot on the Windows Phone 8 device which will be stored in the Screenshots album.

How to Find if the User has tapped on the Screen in Windows Phone 8 App ?

There are times when you want to find out if the user has tapped on the screen to perform some action . For example , you are developing a game and want the user to tap anywhere on the screen to proceed . In these scenario , one can use the Touch.FrameReported event which lets you capture the position on the screen where the user…