Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers: WP7DEV
Showing posts with label WP7DEV. Show all posts
Showing posts with label WP7DEV. Show all posts

StorageHelper - For Windows Phone + Silverlight app developers

Few months ago, I wrote a small helper class for all my Windows Phone Silverlight applications, which helped me a lot to store and retrieve data to and from IsolatedStorageSettings. Thus I thought to share the same with you, in case you find it useful.

 

Read more to  find out the code, which you can use freely. Here the only catch is: it works only with the Silverlight type applications.



How to force a WindowsPhone app to use a specific Theme?

It happens sometime that a specific theme like Light or Dark looks good in some application. In such case, you have to specify all the colours manually to background foreground etc. This is very hectic job. Is there any easy way doing this?

 

Yes, we have. Jeff Wilcox simplified this process by releasing a ThemeManager library (open source) for you which you can use in your app and force a specific theme for your Windows Phone application.


Windows Phone Emulator - Shortcut Keys

When working a lot on Windows Phone Emulator, it is sometime easy to use the  computer keyboard to perform some specific tasks instead of tapping onscreen display on the Emulator. Sometime, it is also require to know the keys when you don’t have the hardware buttons in emulator.

 

Here I am sharing all the keyboard shortcuts which the Windows Phone Emulator supports. I am sure, this will be handy to have while developing apps.


How to check the supported Camera Type in Windows Phone?

If you are a WPDev and building Windows Phone app and/or game that uses primary or secondary (front facing camera), you might need to check whether the device supports either or both of them. Windows Phone SDK provides APIs to check for supported camera type.

 

In this blog post, we will discuss about this API and learn how to know whether the phone supports either or both of those camera types.


How to retrieve Free Space details in WP programmatically?

How many of you want to check the available free space in your Windows Phone device? It is very simple to get the details from the settings page. But think about a case where you want to check the free space from your app and want to chose some logic to notify the user.

 

In this small but useful post, we will discuss about the API and will share a small piece of code, which will allow you to know the available free space in user’s phone device.


Clipboard API in Windows Phone

Windows Phone by default provides the inbuilt mechanism to support Clipboard Copy, Paste functionalities and shows the proper icon in any TextBox control. But in some case, you may need to handle the copy experience explicitly.

 

This small post will discuss about the API and the code that you can use in your Windows Phone application. Continue reading.



Simplest way to Encrypt and Decrypt of data in Windows Phone apps

Sometime we need to provide an encryption mechanism to protect user data in phone and/or sharing the data over internet to a database. Data security should be always maintain by a developer to protect the content of the application that the user enters.

 

If you are building an app and looking for some way to implement the mechanism, here is a wrapper class for you to do encryption and decryption of a string literal easily.


Compass APIs for Windows Phone

Today in this blog post we will discuss about Compass APIs available in Windows Phone SDK. After reading this post, you will be able to use your Windows Phone’s device sensors and build some apps and/or games for your targeted users.

 

Before using the compass in your game, make sure to check whether the device supports it or not. The SDK provides APIs to check that too. Let’s start discussing about it.


#WPDev Tips: How to pass an object to WP Navigation Service?

While working on an application last weekend, I was in need to pass an object as query string parameter to the other page of my Windows Phone application. NavigationService does not allow you to pass any complex object.

 

Then I found a cool idea by which you will be able to send the whole object to the other page. In this blog post, I am going to share you the trick.


Just a few steps to make your WP app recognizes your speech

Do you want to add a functionality in your Windows Phone device which can actually listen to users voice or commands? Do you want the app to record the speech or convert the speech into a text string which you can save as a document?

 

Okay, this blog post will cover that topic for you today. Here we will discuss how to use the API to enable the speech recognition in your WP device.


How to calculate distance between two coordinates in WindowsPhone?

Sometime while working with map control in Windows Phone, we may need to calculate distance between two GeoCoordinates. The Windows Phone 8 SDK already provides you the required API for you to calculate the distance very easily.

 

If you are looking for a piece of code to do the same, here is the small post for you to understand the API and the way to use it in your app.



#VisualStudio 2013 and Windows Phone app development

Visual Studio 2013 Preview is already here and many of you already downloaded it and started exploring the new features and enhancements introduced in this version. Few people asked me that, they are not able to build Windows Phone 7 applications in Visual Studio 2013 even after installing the WP7 SDK.

 

So, what is the issue? How can we build Windows Phone application that targets OS 7? This short post is for those developers who are seeking this information.


Recap of #CSCJBPChapter monthly meet (August 2013)

logo

We had a great event on 10th August on Windows Phone application development in our C# Corner Chapter meet. We had a no. of enthusiastic attendees this time in our event and everyone enjoyed the sessions a lot. Thanks to everyone who attended. Looking forward for your participation in the coming days.

 

In this post I am going to share the agenda, pictures and slides. Also, I am announcing the date of the next monthly meet. Don’t forget to register for the event and join us in September.


How to Build a RSS Feed Reader using Windows Phone App Studio?

Everyone wants to build their apps, whether you are a geek or not. And when you have a website or blog with RSS, it’s by nature to build a RSS phone of your blog. A developer who has knowledge of programming can easily start with that. But what about non-techie?

 

Microsoft has recently launched a tool called “App Studio” which will allow you to build a Windows Phone app without any programming skill. Today we will discuss how to use this tool.


Windows Phone App Studio - Build your WP app in 4 easy steps

It’s time for developers to easily build Windows Phone applications and host them in the Windows Phone Store (Marketplace). Microsoft came with a great online tool which will guide you to build WP apps in four easy steps. Though the app is currently in beta stage but you can create professional apps with it.

 

Not only that, Microsoft also came with some offers for the WPDevs which will encourage you to get started with building apps for Windows Phone community.


How to work with Telerik RadAutoCompleteBox (Silverlight & WP)

Developers always try to provide the user a easiest way to represent the data irrespective of the technology that has been used. Hence, for a huge collection of data, generally we provide “AutoComplete TextBox” to the user instead of ComboBox or ListBox.

 

The reason behind this is to provide searchable and filterable UI to the user for easy access. Today in this post, we will learn how to use the Telerik’s RadAutoCompleteBox in both Silverlight and Windows Phone.



How to Vibrate your WP programmatically?

If you are a phone application developer, you may want to integrate vibration in your application, so that, you can vibrate the phone programmatically to provide some message to the end user silently in some special occasion.

 

Today in this post, we will learn how to programmatically vibrate your Windows Phone device by learning the SDK API details. Continue learning and provide your feedback.


How to create custom XMLNS namespaces to keep your XAML clean?

XAML namespace is an extension of XML namespace and conventionally written as “xmlns” in XAML pages. We use it on all XAML pages in Silverlight, Windows Phone, Windows 8, WPF related technologies to better reference assemblies and namespaces.

 

In this post we will learn more about this XMLNS namespace and the way to customize it for a cleaner XAML page. Interested to know it? Continue reading and share your feedback about the post.


How to integrate Infragistics InfoBox control in your WP app?

As a WPDev, sometime we want to show a callout type information box or a notification popup within the Windows Phone application to the end user. Building such type of control needs a lot of effort before using that in an application.

 

Infragistics came up with their own control to help the Windows Phone developers to save their effort building it from the scratch. Today we are going to discuss it here with step-by-step code snippet.


How to Detect WP Device Infos using DeviceExtendedProperties?

Almost two years ago we discussed about “Microsoft.Phone.Info.DeviceStatus” class to retrieve Windows Phone device information in your application. In addition to those, there are some more APIs to fetch more details which is available as extended properties set.

 

Today in this post, we will learn about the API and the way to fetch those additional details in your application. Continue reading to know more about it.

 
© 2008-2017 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top