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 scaling

Video scaling

All your problems with Audio, Video and Images.

Video scaling

Postby lian » Wed Jun 17, 2009 11:26 am

Hi all,

I'm working on a media player app. IN which I need to render the video full fill the window, but I can't find correct class and API do this, Does anyone please give some suggestions to achieve that goal.

Thanks in advance,
lian
lian
Freshman
Freshman
 
Posts: 2
Joined: Wed Jun 17, 2009 11:04 am

Top

Postby Cynthia » Thu Jun 18, 2009 3:27 am

Maybe u can use
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. getWindow().setFlags(WindowManager.LayoutParams.FULL_SCREEN, WindowManager.LayoutParams.FULL_SCREEN);
Parsed in 0.015 seconds, using GeSHi 1.0.8.4
Cynthia
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Jun 18, 2009 3:19 am

Postby lian » Thu Jun 18, 2009 9:43 am

hi Cynthia,

Thank for your suggestion, but this can't solve my problem. I render the video use "SurfaceView" which inside a Window (Activity), and many "ImageButton"(such as start,stop) also inside, your method is valid to the Window but is not to "View", I want to scale the video fit to the size of "View".

Thanks in advance,
lian
lian
Freshman
Freshman
 
Posts: 2
Joined: Wed Jun 17, 2009 11:04 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 12 guests