Today plugin
Posted by yatsu Sat, 04 Feb 2006 20:05:31 GMT
W-ZERO3のToday画面を拡張したくて、Today pluginでも作ろうかと思い、開発方法を調べてみた。
.NET Compact Framework + C# で開発できればお手軽だと思っていたのだが、どうやらそれは無理で、C++でネイティブDLLを作成するしかないようだ。
MSDN: .NET Compact Framework and Smart Device Programming (February 08, 2005)
Q: When will it be easy to write plugins for the Today screen?
A: A today plugin requires a dll which exports specific methods. It is not possible to write such a dll in managed code, so there will still be a requirement for a native (C++) dll.
すでに .NET Compact Framework の本で Safari Bookshelf のスロットを4つも使ってしまったよ……。
作成方法は以下が参考になりそう。
- MSDN: Using the Today API
- CTodayWindow - template class for creating custom today items - The Code Project - Mobile / Embedded
- CTodayOptionsDialog - let’s continue in writing today custom items in sequence of CTodayWindow class - The Code Project - Mobile / Embedded
Todayを拡張するソフトはここで紹介されている。
ソースが公開されているものもあるので、参考にできそう。
ところでいちばんの問題は、Virtual PC上のActive Syncで同期できないことだ。
追記 2006.02.17
.NET Compact Frameworkでも開発できるらしい……。 今さら知っても……。
