title: CastClassException ( boolean to ZoomStyle )
body: <p>I had a <code>CastClassException</code> when trying to launch a VideoRecorderActivity. Here is how I'm doing so : </p>
  
  <pre><code>mTempVideoFile = new File(getContext().getFilesDir(), DateTime.now().getMillis()+"videoAndroid.mp4");
  
  Intent takeVideoIntent=new VideoRecorderActivity.IntentBuilder(getContext())
              .quality(VideoRecorderActivity.Quality.LOW)
              .durationLimit(60000)
              .to(mTempVideoFile)
              .debug()
              .build();
  
  startActivityForResult(takeVideoIntent, ACTION_TAKE_VIDEO);
  </code></pre>
  
  <p>the stacktrace : </p>
  
  <pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.m360learning.android/com.commonsware.cwac.cam2.VideoRecorderActivity}: java.lang.ClassCastException: java.lang.Boolean cannot be cast to com.commonsware.cwac.cam2.ZoomStyle
                                                         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
                                                         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
                                                         at android.app.ActivityThread.-wrap11(ActivityThread.java)
                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
                                                         at android.os.Handler.dispatchMessage(Handler.java:102)
                                                         at android.os.Looper.loop(Looper.java:148)
                                                         at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                         at java.lang.reflect.Method.invoke(Native Method)
                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
                                                      Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be cast to com.commonsware.cwac.cam2.ZoomStyle
                                                         at com.commonsware.cwac.cam2.CameraFragment.getZoomStyle(CameraFragment.java:452)
                                                         at com.commonsware.cwac.cam2.CameraFragment.onCreateView(CameraFragment.java:203)
                                                         at android.app.Fragment.performCreateView(Fragment.java:2220)
                                                         at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:973)
                                                         at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)
                                                         at android.app.BackStackRecord.run(BackStackRecord.java:793)
                                                         at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1535)
                                                         at android.app.FragmentController.execPendingActions(FragmentController.java:325)
                                                         at android.app.Activity.performStart(Activity.java:6267)
                                                         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
                                                         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
                                                         at android.app.ActivityThread.-wrap11(ActivityThread.java) 
                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
                                                         at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                         at android.os.Looper.loop(Looper.java:148) 
                                                         at android.app.ActivityThread.main(ActivityThread.java:5417) 
                                                         at java.lang.reflect.Method.invoke(Native Method) 
                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
  </code></pre>
  
  <p>Also I <code>skipConfirm()</code> is in the documentation but is not recognized in my code which make me think maybe I have the wrong version of the library.</p>
  
  <p>I took from this maven repo <code>"https://s3.amazonaws.com/repo.commonsware.com"</code>, this version <code>'com.commonsware.cwac:cam2:0.5.+'</code></p>
  
  <p>Thanks !</p>