Android camera example app, captures images based on proximity sensor readings