Hi all,
I am quite a newbie in this field. So I'd need some help. I'm trying to develop an application in which I'd have 2 pointers. This application runs on my PC. I would like to move these pointers by moving my mobile phone. I guess (and read) that I'd have to detect the motion using the onboard camera and the motion details needs to be sent to the PC via Bluetooth.

1. Can someone please send me some source code for this?
2. Otherwise where can I find some documentations to read up?
3. Is using Java a better option?

Please respond.