Powerd by dasBlog RSS 2.0
 Saturday, March 22, 2008

I was planning on watching all of the Mix videos on Silverlight for Windows Mobile, and some other content as well, but I have not gotten around to it. I had written up the following while watching the first video and wanted to get it posted before I forgot about it.

As I "predicted", Silverlight for Windows Mobile was announced at Mix 08. In conjunction with the announcement at Mix was an announcement by Nokia to make Silverlight available on S60 for Symbian OS. A CTP version of Silverlight for Windows Mobile is due out sometime this year (Q2 2008)

Mix Sessions

T12 - Mobile Devices and Microsoft Silverlight: A Primer on the New Technology. Presented by Amit Chopra and David Kline

Silverlight for mobile will be the 1.0 version, not 2.0, running as a IE Mobile browser plug-in with java script support. Initial support is for Windows Mobile 6 standard and professional (and Nokia Symbian). There will be a device specific media stack.

The first demo showed a Silverlight application running on a HTC device, loaded from the local file system. Demo applications included a analog Clock, Donkey (remember the Bill Gates Donkey.Net?), and a media player written by channel 9 which was ported to Silverlight mobile.

Amit made a comment during the demo saying that he replaced the managed code for the channel 9 media player with a scripting equivalent because that is what they support. That will be disappointing if the compact framework isn't available in Silverlight (managed code support comes in 2.0 for mobile)

There are some guidelines for moving existing Silverlight applications to the mobile device.

  • ScaleTransform (utility?) to resize content
  • Use device supported encodings
  • Avoid large content files
  • Be aware of device resources
  • Be mindful of scaled object size
  • Mobile network connectivity is improving but you still have to take into account limited connectivity.
  • Design apps for touch and non-touch input
  • Design UI (XAML) for each form factor \

Roadmap (keep an eye on www.silverlight.net):

  • Silverlight 1.0 for mobile CTP Q2CY08
  • Silverlight 1.0 for mobile RTM Q4CY08
  • Silverlight 2.0 for mobile CTP Q4CY08 (managed code support)
  • Silverlight 2.0 for mobile RTM Q2CY09

Contact Amit (achopra@microsoft.com) via email to discuss TAP opportunities.

At the end they opened it up for questions:

  • Reiterated the www.silverlight.net site as your one stop to get all information about Silverlight for developers, including what the optimum development environment would be (VS version, blend version, etc)
  • When asked if Silverlight could interface with a camera built into a device, the answer was no. However, you could use/write an ActiveX control that interfaced with the camera or gps, etc, and as long as it's on the same page as the Silverlight application, you can exchange data. In 2.0, additional support for interfacing with the device may be made available thru the inclusion of managed code.
  • Support for Windows Mobile 5? Not planned due to limitations of the browser.
  • Silverlight 1.0 for mobile is the same Silverlight 1.0 as the desktop.
  • Someone asked if there were any plans to go to a wpf (my word choice) style approach. The answer was that not for 1.0, but possibly in the 2.0 timeframe depending on customer need. Amit stated that they have been hearing quite a few requests for this, so there is another reason to email him and let him know if that's something that you want.
Saturday, March 22, 2008 12:56:03 AM UTC  #    Comments [0] - Trackback
WinCE
 Monday, January 14, 2008

I was doing some Google searches for more information on Linq and SqlCe 3.5 this morning. While I knew you could use the SqlMetal command line utility to get Linq to Sql Support for SqlCe 3.5, I made an incorrect assumption that Linq to Sql was available on the compact framework. For the love of god, could Microsoft please release a Compact Framework builder, akin to platform builder for Windows CE. For smart phones and other off the shelf devices, keep an official CF release, but for those of us writing applications bundle withed devices, let us determine what we need, and do not need in the compact framework.

Anyway, during my search, I came across Dan Vanderboom's blog. Dave is a Windows Mobile developer and shares some of the same pain that I do. He has alot of good information, and is currently working on a enterprise manager like application for SqlCe running on devices, but will not require active sync.

Thanks to Dave, I found 2 new applications for my smart phone.

  1. Task Manager - The name is somewhat deceiving, as it is allot more then just a task manager. You can view processes, window handles, device drivers, edit the registry, view network stats and more.
  2. WiFiFoFum - War driving application for the Pocket PC.
Monday, January 14, 2008 3:28:52 PM UTC  #    Comments [3] - Trackback
Tools | WinCE
 Saturday, January 12, 2008

Let this be my first post in my new Windows CE category. I have a feeling I will be writing more stuff about WinCE in the coming months. I wanted to jot down some notes from a couple of articles I read over at OpenNetCF for future review. Most of the high level concepts I already knew, but it's nice to get some details once in a while.

Data Caching

  • No performance gain in keeping the data connection open for the life of an application.
  • Cache reads are two orders of magnitude faster then a database read. As the article points out, this is interesting due to the fact that the database, and cached data were both stored in RAM.
  • Several of the reader comments were interesting
    • The first time a SqlCE Connection is opened, the database is loaded into shared memory
    • One option is to have a connection opened for the life of the application, but not to use it, this is just to keep the engine loaded. Then open/close connections in your DAL as you normally would. This was recommended by Steve Lasker, a member of the SQL CE dev team. Steve also points out that reusing a command object and changing the text code hurt more then help, as you can't take advantage of query plans. Reusing a command object can sometimes help with the garbage collector.
    • Another reader provided a example where it looks like he is doing an index scan and getting faster results then directly querying the database. It's hard to tell without running the sample code.

Garbage Collector

  • GC suspends all threads while it performs necessary actions, such as freeing and moving memory. Frequent GC's can have an adverse affect on performance.
  • Remote performance monitor, which I blogged about before, is a valuable tool. This article provides a good example of how to interpret some of the numbers.
  • Don't fear the GC, and take the time to understand what the numbers in remote performance monitor mean.

I'm also in search of a decent MVC and IoC framework for Windows CE. I'll probably be posting more on this later.

Saturday, January 12, 2008 9:25:34 PM UTC  #    Comments [0] - Trackback
Review For Future Projects | WinCE
Archive
<August 2008>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Adam Salvo
Sign In
Statistics
Total Posts: 146
This Year: 72
This Month: 3
This Week: 0
Comments: 8
Themes
All Content © 2008, Adam Salvo
DasBlog theme 'Business' created by Christoph De Baene (delarou)