Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Problem in Video Capture

Problem in Video Capture

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Problem in Video Capture

Postby pratheeja » Mon Jun 06, 2011 7:13 am

I'm trying to pass a Uri to the video camera as EXTRA_OUTPUT. The file
shoots and saves OK at the Uri I give it, but unfortunately pressing
the 'Retake' or 'Play' buttons crashes the application.

Does anyone know how I can supply a Uri in a way that won't crash the
camera?

Here's my code:
On a button c;lick event

Intent intent = new Intent(
android.provider.MediaStore.ACTION_VIDEO_CAPTURE);
File file = new File(Environment.getExternalStorageDirectory(), "/myvideo.MP4");
outputFileUri = Uri.fromFile(file);
intent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, Uri.fromFile(file));
startActivityForResult(intent, REQUEST_VIDEO_CAPTURED);


Any kind of help will be greatly appreciated.


regds,
Pratheeja
pratheeja
Freshman
Freshman
 
Posts: 3
Joined: Tue Feb 01, 2011 10:07 am

Top

Return to General

Who is online

Users browsing this forum: Google [Bot] and 3 guests