views:

46

answers:

0

Hi all,

I have code for capture video:

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);

This code works good on 2.2 but duration limitnot works on 2.1 (Galaxy S). Is available some parameter for set this time ? I ask because i found application, that works on Galaxy S (Vibrant) and after some time recording stops.