I am totally new at testing apps on devices, especially the Sony Xperia. I am testing apps using the Android emulator, but I have now a Sony Xperia. First I have connected the device to the laptop via USB. But the laptop couldn't detect my phone. Is a driver necessary for Eclipse to detect the phone?
Download the correct driver for your phone, make sure your phone has enabled USB debugging and then connect it to proceed with the install.
Download drivers from: http://developer.sonymobile.com/downloads/drivers/