Feb 10, 2005

Dancing Particles: Adding Points, Lines, Fonts, and Input to the Managed Graphics Library


Dancing Particles: Adding Points, Lines, Fonts, and Input to the Managed Graphics Library

Building Applications with .NET Compact Framework

Building Applications with .NET Compact Framework: Best Practices


Usability:
Size of device being a key constraint, usability becomes a key factor to be considered while developing applications for smart devices
1. Keep the UI simple and easy going.
2. Avoid multiple data entries
3. Avoid new forms, try using tab controls
4. Use Hardware functions

Performance:
1. Keep the functionality simple i.e. avoid complex functionality
2. Use Disconnected Dataset
3. Reduce Data joins
4. Use Multi Threading
5. Create threads for long jobs
6. User Asynchronous Calls
7. Mostly making a call to unmanaged code will be costly from performance point of view

Data Access:
1. Use ADO.NET datasets
2. Sometime it's better to de-normalize the tables to ensure faster data access
3. Multiple SQLCE connections not possible

Deployment:
1. Avoid Desktop ActiveSync
2. Use CABs.
3. Deploy .NETcf core and SQLCE as separate CABs

Feb 7, 2005

Guide for Compact Framework Installation



































Name

Source

Use

MS Visual Studio .NET 2003 Enterprise Edition

From CD

Handheld Development environment

Microsoft Pocket PC 2003 SDK

http://www.microsoft.com/downloads/
details.aspx?FamilyID=9996b314-0364-4623-9ede-0b5fbb133652&displaylang=en

Emulator for Pocket PC 2003

PrinterCE.NetCF SDK v1.1.3.0

http://www.fieldsoftware.com/
PrinterCE_NetCF_download.htm

For printing functionality as .NET compact currently does not
support printing

OpenNETCF Smart Device Framework 1.2

http://www.opennetcf.org/

Add on to Compact Framework with enriched functionality (refer
to online help in the website for details)

MS SQL Server CE 2.0

Attached in the mail

DB for handheld




Some tips:



1) After installing the "Microsoft Pocket PC 2003 SDK" you can
run the following from command promt to see the emulator:
C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\ConnectionManager\Bin\Emulator.exe /ceimage
"c:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Emulation\PPC_2003_WWE.bin" /video 240x320x16 /ethernet true
/skin "c:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Emulation\Pocket_PC_Emulator_Skin.xml"


2) Steps for installing MS SQL Server CE 2.0 in the emulator

  • i) Unzip the attached file in any folder(say "C:\sqlce")
    in desktop and share that folder.
  • ii) Open the emulator using the Tip no 1 above
  • iii) Navigate using Start-->Programs-->File Explorer. Click on the 3rd icon (depicted as hand in the menubar)
  • iv) A pop up screen would appear where enter your desktop's Network Identification name (You can get this from My Computer -->Network Identification)
  • v) Give your desktop's username/password
  • vi) You will see the shared folder of your desktop.

    Copy :a) sscemw20.dll to the Emulator's Windows folder,
    b) Rest of the 3 cab files in any folder of Emulator and click on each of them.
  • vii) This ensures MS SQL Server is installed. You should see the icon (SQLCE Query) under Emulator's Programs.


    [ Any files that need to be copied from desktop to emulator follows the above process]


    Play around with the Emulator to see the various features.


  • How To Use Visual Basic .NET to Format a Windows Forms DataGrid That Is Bound to an Array
    Creating POOM items using PIE Web pages
    Microsft:: Mobile and embedded App development Center
    Synchronization. Sections. Pocket PC Developer Network


    Josh Holmes - Compact Framework
    Voice Command Tutorials
    : Technical Articles: Incorporating Pocket Outlook Data into Your Microsoft .NET Compact Framework-based Applications