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

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 - audio time

audio time

All your problems with Audio, Video and Images.

audio time

Postby ulquiorra » Wed May 05, 2010 2:43 pm

hi all , i have an application with a media player , and i want to retrieve the duration time of the media
i have tried

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. public void updateTime()
  2.  
  3.         {
  4.  
  5.             int ttld=mp.getDuration();
  6.  
  7.             int nowd=mp.getCurrentPosition();
  8.  
  9.             int tremaning=(ttld-nowd);
  10.  
  11.        
  12.  
  13.            
  14.  
  15.             date.setText(" temps restant " +String.valueOf(tremaning));
  16.  
  17.             Log.v(TAG, "time " + String.valueOf((tremaning)));
  18.  
  19.          }
Parsed in 0.012 seconds, using GeSHi 1.0.8.4


but doesn t work

help me plz
thx a lot
ulquiorra
Junior Developer
Junior Developer
 
Posts: 12
Joined: Thu Apr 08, 2010 1:16 pm

Top

Return to Multimedia Problems

Who is online

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