How to connect I-Droid capacitive sensor

Hi guys!
I took a capacitive proximity sensor from an I-Droid-01, but I cannot manage to connect it with my Arduino Uno.
The sensor is this one:

I tried connecting it like a normal capacitive sensor, using CapacitiveSensor class, and a 1 MOhm resistor that connects the two pins, but it doesn't work.
Can somebody help me?
Thank you in advance!

Solved.
You can close the topic