I do not know how to start building upon this simple idea :
When an android phone is connected to a PC, a Java application running on the PC detects the device and starts synchronizing the contacts in the android phone.
Can anyone help me how do I start this ? I know how to write applications in Java but have never worked with android OS or have made application for the android operating system. That is the reason I am unable to start this.Please tell,if there is anything I need to delve in before I should start.