A couple of months ago, the french programming website www.developpez.com organized an event to discover Windows Azure programming (I wrote a blog post about it here).
(tr: “Let’s go !” “World cup ?” “No… Windows Phone 7 challenge by developpez.com !”)
The challenge is made of 6 steps:
Tools : download and install the required tools
Quizz : first basic quizz
Silverlight development
Silverlight and push notifications
XNA
Quizz : advanced quizz
Each winner will have the following gifts:
This kind of challenge is really helpful to discover a new technology the funny way ! I hope I’ll get my “I Love Windows Phone” tee-shirt to wear it this summer 🙂
The last couple of days, I’m playing with my favourite tools in order to build a simple WP7 demo application. I just encountered a weird problem which I wanted to share here… I’ll update this article as soon as I’ll get some feedback from Microsoft about this issue.
Note: this problem did not occur if you’re using the first CTP of the WP7 tools
To reproduce the bug:
Create a new Windows Phone 7 application in VS2010
You’ll get an ArgumentException with the following StackTrace:
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData)
at MS.Internal.XcpImports.UIElement_TransformToVisual(UIElement element, UIElement visual)
at System.Windows.UIElement.TransformToVisual(UIElement visual)
at System.Windows.Controls.ScrollViewer.OnManipulationStarted(ManipulationStartedEventArgs e)
at System.Windows.Controls.Control.OnManipulationStarted(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Analysis:
It took me some time to reproduce this problem in a very simple application. At the very beginning, I though it has something do to with the EventToCommand behavior I was using (from the famous MVVM-Light framework of Laurent Bugnion) but after talking with Laurent it was clear it wasn’t the case.
The StackTrace seems to indicate a problem with the ScrollViewer of the ListBox…
Workaround:
Several possibilities seems to be working:
Change the ListBox to an ItemsControl
Or, change the event to ManipulationCompleted
I didn’t find the correct location in order to log this issue on Microsoft Connect. Pleas let me know if you have the URL
Next monday, Mix10 will start in Las Vegas. Even though it’s a little bit far from my place here in France I’ll try to give feedback after the keynotes and as soon as first videos will be available. I’m sure you’re aware that major announcements this years at Mix will be about the Windows Phone 7 series.
To make the long story short :
Windows Mobile 7 was presented during last WMC (Word Mobile Congress) under the name “Windows Phone 7 series”
Microsoft demonstrated the new UI experience coming with this new version
Microsoft confirmed that Silverlight and XNA will be the technologies available to develop on the Windows Phone
If you’re using Twitter, make sure to watch the #wp7 hashtag. It make not any doubt the next week is going to be very informative about Windows Phone 7 series.So stay tuned !