WP7Tips

Showing posts with label WP7Tips. Show all posts

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.

Published by on under Windows Phone | WP7

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.

Published by on under Windows Phone | WP7DEV

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.

Published by on under Security | Silverlight

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.

Published by on under WP7 | WP7DEV

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.

Published by on under WP7 | WP7DEV

Last day we learnt “How to Integrate WP7.8, WP8 Live Tiles in your WP7.5 apps?” which was using the default APIs provided by Windows Phone SDK. That does not provide additional APIs like transparency, front and back content etc. to control the live tiles of your application.

 

In this post, we will learn how to customize the primary live tile of your Windows Phone 7.8 or 8.0 applications easily using the Telerik libraries.

Published by on under Telerik | WP7

The Windows Phone SDK update for WP7.8 is already there and many people already started receiving the WP7.8 OS update in their existing WP7.5 handsets. If you are a developer, you might want to integrate the new Live Tiles in your existing application to give it a good look.

 

In this post, I will guide you to update your existing apps to include the new live tiles. Continue reading to find out the step-by-step process to integrate it.

Published by on under WP7 | WP7.8

Today while deploying one of my new Windows Phone 7 application to my unlocked WP7 device, I noticed that, it is not deploying it due to connection error though the device is connected properly and able to sync with the Zune Software.

 

Later after doing lots of brain storming I was able to fix the problem and thus sharing the solution here in case you came across similar issue while deploying.

Published by on under WP7 | WP7DEV

How to Crop an Image based on a Shape or Path control?

In the last post we discussed “How to Crop an Image using the WriteableBitmap class”. If you didn’t read it yet, first try to understand that before reading this post as we are going to use it in this post very frequently.

 

Today in this post we are going to learn how to crop an image in different shapes like rectangle, circle or any other different complex shapes programmatically.

Published by on under Silverlight | SilverlightTips

Few days ago we discussed about RadDataBoundListBox from Telerik RadControls library which maximum WPDev want to integrate in their Windows Phone app. Today in this blog post we will discuss about another control from that library.

 

RadSlideView control is also another important control from that library which we will discuss today and maximum developers can find it useful. So, continue reading.

Published by on under Telerik | WP7

Many of us build Windows Phone applications and we try to market ourselves and/or our apps. Writing the same code for all the apps is not a big tough but why to write? That’s why I wrote a single code file for my apps and thought to share it with you.

 

Let’s begin with the source code and if you have more to share for other developers, post in the comment section and help them to code easily.

Published by on under Tips | WP7

At the time of developing your Windows Phone 7 application, you might see a build error. The build error describes as “The target ‘GetCopyToOutputDirectoryContentProjectItems’ does not exist in the project”.

 

This small post will describe you the solution to fix this error and build your WP7 apps smoothly. Continue reading and if you still face the issue, let me know.

Published by on under DZone | Tips

Do you know that, you can easily share the internet connection of your Windows Phone 7 device to your Laptop? Yes, you can share the phone’s data connection to other devices using the Wi-Fi broadcasting.

 

In this blog post, I will share you the steps which will be helpful for you to faster connect to the net in your Laptop and share the data connection from your mobile device.

Published by on under Tips | WP7

If your Windows Phone application needs to play some sort of music but you don’t know whether the device is already playing it in the background, what will you do?

 

Today in this small Tips & Tricks we will learn how to detect whether music is playing in your Windows Phone 7 device. When the player is playing media files in the background, you can easily detect it by following some simple steps.

Published by on under WP7 | WP7DEV

While working with the XNA Framework in Windows Phone 7 application, you might face an exception which says “Invalid Operation Exception” with a message “FrameworkDispatcher.Update has not been called”.

 

This exception generally occurs when you are working with the sound effects. In this post, we will discuss about this exception and the solution to fix it.

Published by on under Tips | WP7

This post is with response to a question asked by my friend Abhimanyu. Yesterday he asked me whether it is possible to test the Windows Phone app on computer by installing in emulators?

 

I answered him personally but thought to write a post on the same with proper steps so that, if you want to deploy any Windows Phone XAP file in your emulator to test it, this post will guide you.

Published by on under Tips | WP7

Windows Phone 7 launchers and choosers enable users to perform common tasks in WP7 device by providing a consistent user experience throughout the Windows Phone application development platform. I already covered many of the Launchers and Choosers in my blog. On popular demand, I am sharing them in this single page post. I hope, this will be helpful for you to get started with the Windows Phone 7 launchers and choosers very quickly.

 

Let’s start discussing about launchers and choosers followed by links to all the launchers and choosers.

Published by on under Mango | Silverlight

Continuing my Windows Phone 7 Tutorials on Launchers and Choosers. Today in this blog post we will discuss about the Windows Phone 7 class named “SaveRingtoneTask”. We will first describe about the internal class implementation of the SDK itself. Later we will see how to implement it in your application.

 

Continue reading to learn about the API and code implementation. Don’t forget to share your thoughts and feedbacks at the end in the comments section. Also, share this to your friends/colleagues who might feel it useful too.

Published by on under Mango | Silverlight

Do you want to create an application or game for your Windows Phone 7 that can share links to various social networking sites of users choice? Then this post will help you to integrate the same in your application.

 

Continue reading the complete post to know more about the API, the internal implementation of the WP7 SDK and the way to include it in your application. Don’t forget to share your feedback and if you like the post, please share it to others as this might be helpful for them too.

Published by on under CodeProject | Mango

Do you want to develop an application or game which will update your status or game result in some social networking sites like Facebook, Twitter, Linked-In and/or Windows Live? Then this post will help you to integrate such task in your app.

 

Using “ShareStatusTask” of the Windows Phone 7 SDK, you can update your status line on the social networking sites. Continue reading the post for more details of the API and the implementation steps.

Published by on under CodeProject | Mango