I have a HTC 510 Desire.An I try to tranfer my contacts but the touch screen does not work. How can I get my contacts?
PC companion software
The only way to do it is if you use HTC's pc companion software to sync the device with the pc and then use the software to the pc and then to your new device.
The software can be downloaded from HTC's site here