domenica, 27 luglio 2008
Italian beach soccer national team is going to play the final match of the tournament (started in Marseille on 17 July) against the best team of the world: Brazil.
Italy won against Spain the semifinal on penalties (a revenge of the Spanish penalty victory in the Euro 2008 quarter of final) after a 4-4 draw. In the previous round Italy defeated France, the houme-team.
Now the hardest match: Brazil is the strongest team of the world and in the semifinals they won against Portugal 5-4.
Read the article from the FIFA Official Website
Did you like the article? Buy me a coffee!
mercoledì, 23 luglio 2008
If you want to set the volume in the MediaPlayer using the following code:
InputStream is = getClass().getResourceAsStream( "/sound.amr" );
Player player = Manager.createPlayer(is, soundType);
player.addPlayerListener( this );
player.realize();
VolumeControl volumeControl =
(VolumeControl) player .getControl( "VolumeControl" );
if ( volumeControl != null ) {
volumeControl.setLevel( volume );
}
when you launch the player with:
player.start();
no sound can be heard on the LG KE970 Shine without getting any error.
This device requires to get the prefetched status if you want to set the volume and play the sound correctly. The working code is then:
InputStream is = getClass().getResourceAsStream( "/sound.amr" );
Player player = Manager.createPlayer(is, soundType);
player.addPlayerListener( this );
player.realize();
player.prefetch( );
VolumeControl volumeControl =
(VolumeControl) player .getControl( "VolumeControl" );
if ( volumeControl != null ) {
volumeControl.setLevel( volume );
}
Maybe other phones are affected as well (especially LG). Post comment if you other phones with the same problem.
Did you like the article? Buy me a coffee!