title: Max duration for capture video on android
body: <p>I have code for capturing a video clip on Android:</p>
  
  <pre><code>Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
  intent.putExtra("android.intent.extra.durationLimit", 30000);
  intent.putExtra("EXTRA_VIDEO_QUALITY", 0);
  startActivityForResult(intent, ActivityRequests.REQUEST_TAKE_VIDEO);
  </code></pre>
  
  <p>This code works well on API 2.2, but the duration limit does not work on API 2.1 (Galaxy S). Is there some constant or parameter for setting this time, or is there a better approach than the one I am taking? </p>
  
  <p>I ask because I found another application that works on the Galaxy S (called <code>Vibrant</code>) which can record video for a short amount of time.</p>