title: Use JavaCameraView in other project
body: <p>My question is really simple, I'm trying to launch the ColorBlobDetectionActivity (From OpenCV Sample - color-blob-detection) from an activity in another project, so far all I did was:</p>
  
  <ul>
  <li>Copy the files ColorBlobDetectionActivity.java and ColorBlobDetector.java into my new project</li>
  <li>Add opencv library - 2.4.3.jar as a referenced library (so far everything is built correctly, no errors detected by eclipse)</li>
  </ul>
  
  <p>The problem starts when I launch ColorBlobDetectionActivity from a button within another activity (The intent is working fine but the activity doesn't start and the cellphone says the unfortunately XXX has stopped).I get this error regarding the JavaCameraView in color_blob_detection_surface_view.xml (which is the view referenced by the activity I'm trying to launch):</p>
  
  <pre><code>    The following classes could not be instantiated:
      - org.opencv.android.JavaCameraView (Open Class, Show Error Log)
      See the Error Log (Window &gt; Show View) for more details.
      Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse        
  </code></pre>