Sunday, December 19, 2010

Some hidden features in the Windows Phone 7 emulator

The default set of settings available in the Windows Phone 7 emulator is pretty limited – and there is a reason for that. After all, the main purpose of the emulator is not to provide a full-fledged OS to developers using it but rather a basic testing environment.
What some developers don’t know that the emulator in fact provides a full-fledged, but locked OS that has some features disabled (but not eliminated). In this post I am going to show you how with some simple steps you can get to some of the application layers not accessible directly via the API.
And although you can’t get anything out of them right now, it’s always fun to find ways to access this kind of stuff.

Call history

As you probably know, there is the PhoneCallTask class that allows an application to trigger a user-managed call. But once you are in the call dialog, you can actually get to the user call history. To do this, create a mock PhoneCallTask:
PhoneCallTask task = new PhoneCallTask();
task.PhoneNumber = "0000000000";
task.Show();

Read more: Den by default