Wednesday, April 2, 2008

ActiveSync Usage

Active Sync is a programme that acts as an interface between a mobile and a PC. Any file that needs to be downloaded to and from the mobile phone can be done using activesync.
Inorder to make this happen, both system and the mobile should have activesync installed.

Mobile Phone to PC:
Connect the mobile to PC using USB or any other ports whichever is applicable. Enable activesync on the system and the same on the mobile phone also. The phone automatically Synchronizes with the system once the active Sync is switched. The explore button in ActiveSync allows the user to explore through the files existing on the mobile phone. Similarly any file that needs to be copied on to the mobile phone can be done in the same way.

Emulator to PC:
Connecting the emulator to PC using Active sync is a tricky job. We have to cheat the system that there actually exists a mobile phone with activesync control and is trying to connect into the system. Lets go to the "First" source file that has been created already in the earlier session.
Build and start the emulator. Donot exit from the emulator. In the main VS screen,
Tools> Device Emulator Manager
If all the drop down menus are opened, there will be one simulator which actually is ready to get connected into the system. Right click on that and click on cradle. Active sync gives a setup for connecting onto the device.
Choose "standard partnership" and click next.
Choose "Synchronize with desktop" and click next.
Once the setup is completed, ActiveSync looks for the changes in the emulator since it was last used and updates them. Once it is completed, Click on Explore of Activesync. This gives access on to the files of the mobile phone.
This completes the process of Activesync for an Emulator.

Things to be remembered:
1. Emulator should be executed by VS before starting the Active Sync.
2. Please ensure the files transfer on the emulator/ mobile once the transfer has taken place.
3. Always close the emulator before debugging or writing other code in VS.
4. Both system and the device should have activesync installed.



No comments: