A Practical Guide to Working with ActiveSync 4.0 Presentation.

Download Report

Transcript A Practical Guide to Working with ActiveSync 4.0 Presentation.

A Practical Guide to
Working with
ActiveSync 4.0
By Chris De Herrera
Founder, Pocket PC FAQ
Microsoft MVP, Mobile Devices
What We Will Cover:
Microsoft® ActiveSync® Overview
History of ActiveSync
Installing ActiveSync
Terminating ActiveSync
Additional ActiveSync Functionality
Developing with ActiveSync
Troubleshooting ActiveSync
Additional Resources
Session Prerequisites
Access to a Microsoft® Windows Mobile™-based
Pocket PC or Smartphone
Access to a PC to install Microsoft® ActiveSync®
4.0
Optional: Installed version of Microsoft® Office
on the PC
Level 200
ActiveSync 4.0 Introduction
ActiveSync is used to synchronize with Microsoft®
Windows Mobile™ Devices and Microsoft®
Windows® CE .NET devices
Supports file synchronization
Standard method to install applications from the
desktop
Ability to synchronize with Microsoft® Office
Outlook® Calendar, Contacts, Tasks and Inbox
Ability to synchronize with the Microsoft®
Windows Mobile™ 5.0 emulator
ActiveSync 4.0 History
ActiveSync 3.0 (the first release) replaced
Windows CE Services when the Pocket PC 2000
shipped
Prior versions included 3.1, 3.5, 3.6, 3.7, 3.7.1
and 3.8
With each new release generally a new
generation of hardware support is added
Also, each release generally has improved the
users experience with ActiveSync
Recommended Installation Process
for ActiveSync 4.0
Install Microsoft Office 2003/2002/2000 first!
Install ActiveSync 3.8 – This optional step will
install the Pocket Word file converter for Word.
Install ActiveSync 4.0
Install Office Service Packs
If you run into trouble, just remember to install
ActiveSync last.
ActiveSync Demo
Configuring and Synchronizing
ActiveSync
What’s New with ActiveSync 4.0?
Support for Microsoft® Windows Mobile™ 5.0based Pocket PC and Smartphone devices
New functionality to synchronize your Windows
Media files (for WM5.0 only)
Supports USB 2.0 devices
Redesigned the ActiveSync protocol for a better
user experience
New user interface and new icon design
Removed network/dialup synchronization (for
security reasons)
Terminating ActiveSync
Microsoft does not provide an option to end
ActiveSync. By default it is always running. When you
launch it, ActiveSync re-adds the Registry key so it will
run automatically when you reboot
The two programs to terminate in the Task Manager
are WCESCOMM.EXE and WCESMGR.EXE if you want to
end it by hand.
A workaround is to use Killsync from
www.pocketpcfaq.com/applications. A companion
application called Resync will stop and restart
ActiveSync
Additional ActiveSync Functionality
Can setup Guest only synchronization by changing the
HKLM\Software\Microsoft\Windows CE Services\GuestOnly to
1
Can run program upon initial connection by entering the
program name in HKLM\Software\Microsoft\Windows CE
Services\AutoStartOnConnect
Can run a program upon termination of the connection by
entering the program name in
HKLM\Software\Microsoft\Windows CE
Services\AutoStartOnDisconnect
Officially Microsoft does not support end users editing the
registry. For ease of configuration, use ActiveSync Keys
from www.pocketpcfaq.com/applications/
ActiveSync 4.0 Demo
Terminating ActiveSync and Additional
ActiveSync Functions
Developing with ActiveSync
Microsoft provides the RAPI API so you can use
ActiveSync in your programs
RAPI provides the functionality to perform the following
functions
Transfer files
Install Applications
Modify the registry of the Pocket PC or Smartphone
Create/Modify the internal databases
Execute a program on the device
MSDN® is a great resource for RAPI information http://search.microsoft.com/search/results.aspx?qu=r
api&View=msdn&st=b&c=0&s=1&swc=0
Troubleshooting ActiveSync
Common Fixes:
Make sure your software firewall (including
Microsoft® Windows® XP, Service Pack 2) is
allowing WCESCOMM and WCESMGR to access
the internet. This is required because
ActiveSync uses TCP/IP to communicate.
Try using Detect and Repair of Outlook and
reinstall ActiveSync.
Take a look at the ActiveSync Troubleshooting
Guide at http://www.pocketpcfaq.com/faqs/tshootactivesync.htm
Additional ActiveSync Resources
Pocket PC FAQ – lots of information on
ActiveSync – http://www.pocketpcfaq.com
Microsoft ActiveSync newsgroup –
microsoft.public.pocketpc.activesync
Sync with Act, Goldmine, and other CRM –
Intellisync from http://www.pumatech.com
Sync with Outlook Express –
http://www.syncdata.it
Sync Outlook Notes – http://www.phatware.com
Contact Information
Contact me after the presentation at
[email protected]
http://www.pocketpcfaq.com
Questions and Answers
Submit text questions using the “Ask” button.
Don’t forget to fill out the survey.
For upcoming and previously live webcasts:
www.microsoft.com/webcasts
Got webcast content ideas? Contact us at:
http://go.microsoft.com/fwlink/?LinkId=41781
Today's webcast was presented using Microsoft
Office Live Meeting. Get a free 14 day trial
http://www.microsoft.com/presentlive
Attend an MSDN Event in your
local area and receive the MSDN
Event Resource DVD
This exclusive DVD pulls it all
together – and it’s only available
when you attend an MSDN Event in
your local area.
Spring DVD includes:
•
•
•
•
•
•
Session Materials, including Code
Samples, Slides and Video Recordings
plus a BONUS Session on Visual Studio
2005 Team System
The First 100 Episodes of .NET Rocks!
MSDNTV Episodes
The Complete Patterns & Practices Library
(as well as the Enterprise Library for .NET)
Virtual PC 2004 45-day Trial Edition
Russ' Tool shed: A complete version of
"Tinkering with Visual Studio .NET" book,
includes Code Samples
Listen, learn and rub elbows with our very own
MSDN Developer Community Champions. Our free
MSDN Event series is your perfect opportunity to
brush up on the latest tools and advanced
technologies from Microsoft. Sessions include:
-
Web Services Unleashed
Universal Data Access with SQL Server 2005™
Publishing Applications Using ClickOnce
These events take place in the United States
from April through June 2005, on Tuesdays
and Thursdays from 1-5PM your local time.
Register at http://msdnevents.com
or call 1-877.673.8368
Poll: As part of our ongoing efforts
to improve your audio q...
[Live Meeting Multiple Choice Poll. Use Live Meeting > Edit Slide Properties...
to edit.]
I was able to hear the presenter all of the time.
I had difficulty hearing the presenter due to low
volume.
I had difficulty hearing the presenter due to gaps in the
audio.
The audio was out of sync with the presentation.
I couldn't connect to the audio.
Contact Information
Contact me after the presentation at
[email protected]
http://www.pocketpcfaq.com