My Wish List for Windows “Blue”

Friday, May 17, 2013

Many rumors are flying around at this time about the upcoming release of Windows 8.1 (code named “Blue”, which represents a wave of product updates, including Windows Phone and others). I thought I‘d state my hopes for this release, not just in terms of user features, but also from a developer’s perspective. As a developer, I spend most of my time on my trusty laptop, not some tablet based device. Naturally, the desktop world is my friend. The Windows 8 Start screen is close to perfect for tablet devices, but for the desktop – it’s practically useless. With many...

Windows Phone 8 Dev Camp

Monday, April 22, 2013

A few hours ago, Ariel Ben Horesh and myself presented two sessions for Windows Phone 8 development at Microsoft offices in Ra’anana (Israel). Thank you all for attending! It was fun – it was the second time I presented with someone else (Ariel) at the same time… we had no time to rehearse, but it was great! The code we showed can be found on github at https://github.com/arielbh/RightMyGuide.The slides links are below.Enjoy!BTW, the IMDB service I created to run on Azure will not be up forever… I will probably shut it down (it’s in on private Azure account) in a...

Task and TaskCompletionSource

Friday, April 12, 2013

The Task and Task<T> classes have been around since in .NET 4, and are fairly well known. In .NET 4, the typical usage of a Task is to run some code on a separate thread (by default using the thread pool), as a better alternative to the raw thread pool. Task has a multitude of constructors, but all of them expect a delegate that is the code to be run when the task is executed. Task provides methods such as Wait, so that code can continue when a Task finishes, and powerful continuation model with ContinueWith, that provides easy...
no comments

Webcasts on Windows Phone 8 development

Wednesday, March 27, 2013

Recently, I’ve done two sessions on Windows Phone 8 development, that are available on YouTube. If you’re new to Windows Phone, these sessions may help you to get started. The session are in English and are comprised mostly of coding examples. A third session is planned to happen about 2 weeks from now.First session: Second session:Enjoy!
no comments

Windows Phone Tip: Beware of PhoneApplicationService.State

Monday, March 18, 2013

A Windows Phone 8 app may be in one of several states:In the running state, it’s the foreground app and the user is working with the app. So far good.If the user taps the Start hardware button, he’s taken to the Home screen (naturally), and our app becomes dormant. In this state, all its memory is intact, but all threads are suspended so that app cannot consume any CPU time. Entering this state causes the PhoneApplicationService.Deactivated event to be fired. The app should save its state because the app may later become tombstoned.Tombstonening means the app loses all its...
no comments

XAML Tip: Graphics with ItemsControl

Saturday, February 23, 2013

Sometimes in a WPF or Windows Store or Windows Phone application we need to draw some things based on some collection of data items. Suppose we have the following simple data item: class CarData { public double Distance { get; set; } public string Image { get; set; }}Suppose we have a collection of CarData objects, and the requirement was to show a set of images along a line with a particular distance, like in the following screenshot:The distance from the left is determined by the Distance property, and the image is determined by...

Windows Media Foundation in Windows 8

Tuesday, November 20, 2012

Windows Media Foundation was introduced in Windows Vista as a future replacement for DirectShow, enhanced in Windows 7, and naturally, further enhanced in Windows 8. I’ve blogged about WMF before. While looking at the MSDN docs on WMF, it seems the content has not yet been updated for Windows 8. Windows 7 enhancements are considered there as such. Looking at the API reference, however, shows some new interfaces that are only supported starting with Windows 8.One such interface is IMFMediaEngine and its extended version, IMFMediaEngineEx. The docs hint that the former interface is the playback interface used by the...

Windows Phone 8: Integrating with the Wallet

Thursday, November 8, 2012

Earlier this week, Microsoft held the Discovery event in Tel Aviv, Israel, with a distinguished guest, Steve Ballmer. In the event, Microsoft has officially launched Windows 8 and Windows Phone 8 (and XBOX 360 and Kinect…) in Israel. During the presentations, a wallet application on Windows Phone was shown, which was developed by us, CodeValue (and specifically by me ). This article and this one describe something about the app (in Hebrew). Here are some screenshots (some text is in Hebrew): In this post, I’d like to show the basic steps to integrate an application with the built-in Windows Phone...
no comments

BUILD 2012, Here We Come!

Sunday, October 28, 2012

Microsoft’s BUILD conference is starting in the coming Tuesday, at Microsoft campus in Redmond. I’m proud to say that 11 (yes, eleven!) guys from CodeValue (myself included) will be attending.If you happen to be there, feel free to approach us – we’ll be wearing distinctive shirts, with the CodeValue name and logo.I will do my best to provide blog coverage for each conference day, so stay tuned!

Windows 8 & Phone 8: Next User Group Meeting

Sunday, October 14, 2012

The upcoming user group meeting is a special one: the post BUILD conference meeting. It’s going to take place on November 6th, just a few days after BUILD is over. Elad Shaham and myself will be joined by Tzvia Gitlin from Microsoft, to discuss Windows 8 and Windows Phone 8 (due to be released on October 29th, just one day before BUILD starts), including impressions from the BUILD conference (where I will attend personally). We’ll talk about new Windows Phone 8 features, the SDK, emulator among other things, some of which will be first unveiled at the BUILD conference.Since...