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 - video and m5

video and m5

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

video and m5

Postby jessica » Thu Mar 20, 2008 7:37 am

Hi,
I want to play video files which under res/raw. With the previous version i play the video well. I modify my code with m5. Then i can hear the sound of the file with a black interface. Is this a problem of the new sdk? It puzzled me a long time. Please help me. I'm hurry-up!
jessica
Freshman
Freshman
 
Posts: 4
Joined: Thu Dec 27, 2007 2:45 am

Top

Postby venkat » Thu Mar 20, 2008 7:45 am

Hi jessica,
Can you post your code, then only i can tell anything.
Regards,
Venkat.
venkat
Senior Developer
Senior Developer
 
Posts: 152
Joined: Tue Nov 27, 2007 5:42 am
Location: India

Postby jessica » Thu Mar 20, 2008 7:52 am

hi venkat,
Here is my code:
private void playVideo() {

MediaPlayer mp = MediaPlayer.create(PlayVideo2.this, R.raw.bear);
if( mp== null){
Log.e(TAG, "media doesn't create");
}else{
mp.start();
}
}
jessica
Freshman
Freshman
 
Posts: 4
Joined: Thu Dec 27, 2007 2:45 am

Top

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests