DCSIMG
XAML,Windows Phone - Pavel's Blog
Sign in | Join | Help

Pavel's Blog

Pavel is a software guy that is interested in almost everything
software related... way too much for too little time

Browse by Tags

Webcasts on Windows Phone 8 development
27 March 13 09:51 AM | pavely | with no comments
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!
XAML Tip: Graphics with ItemsControl
23 February 13 12:04 AM | pavely | with no comments
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...
Windows 8 & Phone 8 UG August Meeting
29 August 12 11:22 PM | pavely | with no comments
Last evening we had a User Group meeting in Microsoft Offices in Ra’anana, with a lot of activity and fun. Thank you all for participating! In the first part, we discussed the Windows 8 Store from various angles, end user and developer. In the second part, we discussed Windows Phone 7.x and the upcoming 8, along with other sporadic topics - C++, WinRT, DirectX, COM, XNA, XAML… it was fun! And don’t forget the giveaways! Just as a gentle reminder, out next meeting is on September 13th , where we’ll...
A UniformGrid for Silverlight/Windows Phone
07 February 12 10:00 PM | pavely | 1 comment(s)
The UniformGrid panel in WPF has some useful features, especially as an items panel in an ItemsControl . I blogged about the usefulness of the UniformGrid here . But what about Silverlight? It has no UniformGrid , but we can create one as a custom panel. This would be usable in Silverlight for the desktop and for Windows Phone, and would be a simple enough example to show in one post. The layout process In WPF/Silverlight, layout is a two step process. The first step is Measure: the panel asks each...
First Meeting of the Windows Devices Israel User Group
17 January 12 10:21 AM | pavely | 4 comment(s)
Yesterday evening we’ve held the first meeting of the new Windows Devices user group at Microsoft offices in Ra’anana. This first meeting was dedicated to Windows Phone 7. Elad and I had a lot of fun and we hope you guys had fun as well and learned something along the way. What we’ve done is talk about the Windows Phone platform in general, its capabilities, the tools used to write applications and games, while showing a few demos. We tried to answer as many general questions as we could, and those...
Getting Device Information in Windows Phone 7
19 December 11 06:30 PM | pavely | with no comments
Windows Phone 7 mandates a set of minimum requirements from devices it runs on, such as camera resolution, hardware graphics support, the existence of sensors such as microphone, GPS, touch, etc. However, sometimes it’s useful to know the exact specifications of a particular device the application is running on, so the application can optimize. As a simple example, running on the emulator or a real device can make a huge difference – maybe the application has a way of doing things differently when...
Windows Phone: Combining Silverlight & XNA in a Single Page
26 October 11 09:30 PM | pavely | 2 comment(s)
There are two very distinct ways to program on Windows Phone 7.x: Silverlight & XNA. Silverlight is about UI, retained graphics and is event driven. XNA is about immediate mode graphics, based on a timer and polling; Very different models indeed. Each has its strengths and weaknesses. One of the new features in WP7.1 (“mango”) is the ability to combine the two to get the best of both worlds. Here’s a typical scenario where this need may come up: suppose you’re developing an XNA game (2D or 3D...
Getting Started with Windows Phone Development
22 July 11 04:56 PM | pavely | with no comments
I must admit I was reluctant to get into Windows Phone development too deeply because I had no actual device running the Windows Phone OS. An emulator, no matter how good, cannot replace the actual device experience, and for some applications such as games, is simply inadequate. Well, the excuses are over. I got a Windows Phone device (the Samsung Omnia 7 ) a few days ago. It’s time to take WP7 development more seriously (but not too seriously, as it’s fun…). Instead of going with the traditional...