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 - Start media player

Start media player

All your problems with Audio, Video and Images.

Start media player

Postby thomson » Thu Jan 15, 2009 10:03 am

Hi all,
I created an application that can play video from internet. I used the following code to start media player
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(strMediaUrl));
  2.  
  3. getContext().startActivity(myIntent);
Parsed in 0.011 seconds, using GeSHi 1.0.8.4


It working fine for mp4. But for m4v format it trying to download that file. What I want is to open default media player with the url as argument. But it open the url through the browser. Is there any way to do that?. Or I need to create my own player? Any help will be greatly appreciated.
thomson
Freshman
Freshman
 
Posts: 2
Joined: Fri Dec 26, 2008 5:34 am
Location: India

Top

Postby MrSnowflake » Thu Jan 15, 2009 2:56 pm

M4v is probably not supported.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby thomson » Fri Jan 16, 2009 4:55 am

Thanks for the replay.
But even for mp4 video it going through browser. I only want to open media player. Is there any way to open media player?.
thomson
Freshman
Freshman
 
Posts: 2
Joined: Fri Dec 26, 2008 5:34 am
Location: India

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 1 guest