Use a smartphone as flight controller?

Hello, guys, I’m a software developer and have some experience with computer vision and visual odometry. I want to use a smartphone as a flight controller, using its noisy sensors and camera for stabilization. Do you think it is possible, if so any guidelines and fellow enthusiasts?

try google :wink:

first hit was http://diydrones.com/profiles/blogs/androcopter-use-you-smartphone-as-an-autopilot

I know that guy, but he does not use optical flow. I want to achieve autonomous flight.