DevTeach is coming back to Montreal next week (May 30 to June 3). So on Monday May 30, there will be a pre-conference day where some subject like Agile Architecture, Extreme Database Design and Silverlight. Me and some colleges of RunAtServer will present the pre-conference on Silverlight. We will demonstrate and share on how to create a end-to-end application with Silverlight. Bring your laptop so you can enjoy the experience.
The next 3 days (May 31 to June 2) will be for the main conference. On my side, i’ll be presenting on the first day May 31st at 9h30. I will talk about “What you should know about Windows Phone 7 Development”. So i will demonstrate some of the new feature of the upcoming Mango update. I will also go through some of my real experience as a WP7 developer on some issue you may face and how to resolve them. So i hope to see you there.
On Friday June 3rd, there will be a post-conference days which will focus on Windows Phone 7, Sharepoint 2010 and Agile Development.
Have you ever create an application where you want to share resources between them but you had to create multiple libraries to because those project use different compiler? If your like this often happen. In my case we face that issue. To solve the issue we had to create multiple libraries and refer class using linked files in the project. This is what we have to do in some project where we have a Silverlight 4 app and a Windows Phone 7 app. But this is not the most efficient way to do it.
Microsoft is now offering a solution for that kind of issue. The solution is called Portable Library, which is currently in CTP. So now you can create a single class library in which you can select which kind of project it should be compatible with. You should give it a look, because this may help you solve many issue and save times related with having common class libraries for multiple technologies.
To download the tools: http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981/
For more information:
Join us at the Microsoft Windows Phone 7 Briefing for Developers!
Want to learn how to create awesome applications and games for Windows Phone 7?
Want to extend your existing apps onto a new platform?
Want recognition, exposure, and reach in an untapped marketplace?
RunAtServer will be presenting this Windows Phone 7 Briefing on behalf of Microsoft, you will learn more about developing on it’s latest mobile platform. The briefing will cover three sessions exploring the two application frameworks available for Windows Phone 7, where to find developer resources, how to submit apps into Marketplace, and much more!
6:00pm - 7:00pm - Apps with Silverlight
7:15pm - 8:15pm - Games with XNA
8:30pm - 9:00pm - Next Steps
360 Rue St Antoine W
Montréal (Québec) H2Y 3X4
Ottawa, On – November 30, 2010
Calgary, AB – December 01 2010
Mississauga, On – December 2010
Montreal, QC – December 7 2010
Toronto, On – December 9 2010
See you there!
Tomorrow, it'll give a full session at the .NET Montreal Community about Windows Phone 7. In that session I'll give a full end to end overview of my experience building applications for Windows Phone 7. So I'll start with the idea through the development process and finally publishing the application to the marketplace.
If your interested, I’ll be also available to answers your question. I’ll also have a device so you can test and feel the new OS which is now available since November 8th.
For more information : http://www.dotnetmontreal.com/.../Default.aspx?selecteddate=15/11/2010
See you there!
Recently i was publishing an updated version of an application on the Marketplace for Windows Phone 7, and my update failed the testing process.
Comments: The user isuse presented with an error message when the location services are disabled on the device. The error
message that is displayed is not a user friendly message.
Steps to reproduce:
1. Turn on location service on device.
2. Launch the application and select a location
on the venues page.
3. Swipe to the map page and select view map.
4. When map is loaded press the Start button on the device. 5. Go to the settings of the device and turn off location service.
6. Press the Back button from the Start screen of the device to reactivate the application.
7. Notice a non-user friendly error notification appears.
In reality the problem is not related with the location services. Because i don’t use the location service (i only use the Bing Map for display only). In fact, the real problem it’s that i forgot to handle the Deactivated event and the Activated event.
Why do we have to handle the Activated and Deactivated event?
Windows Phone 7 doesn’t support multiple application running at the same time (except for some application approve by Microsoft). But when your application is running, for different reason (incoming phone call, the user click the start button, …) the application can be suspended. To eliminate some issues you should handle those event and make sure you persist important information.
One of the best place to handle these events is in the App.xaml. To do so you need to declare the events in the xaml code.
<!--Required object that handles lifetime events for the application-->
In the Activated event, you can store some data in the the Microsoft.Phone.Shell.PhoneApplicationService.Current.State dictionary. And in the Deactivated event, we can retrieve that information.
Make sure to test any scenario that a user may face. Currently, the testing process that Microsoft implemented is pretty exhaustive (which is good because it help ensure that the application in the Marketplace won’t crash).