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

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 - MediaPlayer object not initializing on HTC Thunderbolt

MediaPlayer object not initializing on HTC Thunderbolt

All your problems with Audio, Video and Images.

MediaPlayer object not initializing on HTC Thunderbolt

Postby Nexeo » Sat Mar 26, 2011 7:34 pm

I wrote an application that plays a short WAV file, and I haven't had a problem with it before but I just got an HTC Thunderbolt and it won't play the WAV!

I've initialized the MediaPlayer object like so:

Code: Select all
MediaPlayer mp = MediaPlayer.create(this.getBaseContext(), R.raw.sound);


Despite how it works fine on just about every other phone (including other HTC Sense enabled phones), mp = null when I debug on my Thunderbolt, so I can't call mp.start();

Anyone have any ideas?
Nexeo
Junior Developer
Junior Developer
 
Posts: 11
Joined: Thu Feb 18, 2010 4:16 pm

Top

Re: MediaPlayer object not initializing on HTC Thunderbolt

Postby natrix » Sun Mar 27, 2011 4:12 pm

Wouldn't a Log be very useful ?
I mean try to debug it and see where it brakes and what exception raises then you can search for an answer :)

Best Regards
natrix
Freshman
Freshman
 
Posts: 2
Joined: Sun Mar 27, 2011 4:07 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests