device-debugging

Intent.getData() is null when trying to read contact data on device

I am writting my application using api 1.6. The code runs just fine on the emulators 1.6-2.2. But when I try to debugging it on my device which runs 2.1 data.getData() returns null. I have this in the AndroidManifest.xml <uses-permission android:name="android.permission.READ_CONTACTS"/> Any one have any thoughts. I am new to android, ...