title: Android camera preview with fixed bounding box
body: <p>I want to take a picture of a rectangle shaped object. If the camera preview have a bounding rectangle i can take the picture by placing the object inside the bounding box. I need only that specified(inside the box) area of the image.Now I have developed a Camera App(Using <strong>Camera API</strong> Not INTENT) which can take pictures and store the pic like the inbuilt camera App.
   How to draw a rectangle on the camera preview? and how to crop before saving?
  I am using android 2.2</p>