I have a personal pet project I'd like to start on, targeted at windows mobile 6. I've never done win mobile dev and would like to know what resources are out there, good tools to use, perhaps a jump start tutorial, as well as any gotchas I might want to keep in mind when developing for the platform?
7 に答える
Windows Mobile 6 デバイスには、ROM に .NET Compact Framework 2.0 が付属しており、多くのもの (カメラ、システム通知、電子メール、連絡先など) の .NET API も公開されています。
Visual Studio 2008 と、エミュレーター、ドキュメント、ツール、およびサンプルを含むWindows Mobile 6 SDK の更新バージョンを使用することをお勧めします。
MSDN の他に、Windows Mobile サンプルの優れたリソースは、最近 30 日間で 30 のモバイル アプリケーションを構築したChris Craft のブログです。ジャンプスタートに使用できるさまざまなテクニックのサンプルがあります。
C# のバックグラウンドがあれば、Windows モバイル開発にジャンプするのは非常に簡単です。もちろん、違いはたくさんありますが、コツをつかめます。
いくつかの落とし穴:
.NET CF のメモリ管理と、モバイル デバイスでのガベージ コレクターのしくみに慣れてください。 Steven Pratschner の .Net CF WebLog。Steve には、RPM (Remote Performance Manager) ツールを使用してメモリ リークなどを取り除く方法についての素晴らしいチュートリアルもあります。
また、core.dll などの pinvoking ライブラリを介して行われるものもあるため、 P/Invoke.netを参照し、Smart Device Functions の下にあるメソッドを探してください。
そして最後にいくつかのブログ
Rob Tiffany の Windows Mobile Accelerator
編集:ああ、同様の質問に素晴らしい答えがあるようです @ Windows Mobile Development - どこから始めればいいですか?
Depending on the scale of the project, look at .NET compact framework. If you're familiar at all Visual Studio then it's pretty easy to get started. Of course MSDN is the place for resources.
Running managed code on a mobile device does take a big performance hit, but for a small personal project it's pretty good.
Also, most devices have all sorts of odd and weird quirks as well as strange hardware configurations. Look for any sort of developer program from the maker of your device.
For Visual Studio you can download the Windows Mobile SDK which comes with starter kits and emulators. You can program either native C++ or .Net applications quite easily and quickly. Take a look at the samples provided with the SDK for a good entry point. This is likely going to be the best resource out there for getting started. I suggest installing the SDK then running some of the samples to get your feet wet.
Windows MobileDeveloperCenterから始めます。そこには、必要なソフトウェアとチュートリアルへのリンクがたくさんある、すばらしいスタートセクションがあります。WindowsMobileの開発はとても楽しいです。:)
Chris Fairbairn のブログには、Windows Mobile 開発のコード サンプルとサンプル アプリの別の優れたソースがあります。
Wigley、Moth、および Foot による「Microsoft Mobile Development Handbook」を参照することをお勧めします。.NET コンパクト フレームワークと Windows Mobile プラットフォームを使用したモバイル開発の多くのトピックをカバーしています。
また、Windows Mobile の一種である Windows CE についても学びたいと思うかもしれません。Windows CE について学び始めるには、windowsembedded.com が適しています。そこから、テスト用の Windows CE イメージを作成するツールである「Platform Builder」の評価版をダウンロードできます。