Code example for FileDescriptor

0
 
	 
} 
public void limitadeviteza(){ 
	try{ 
	FileDescriptor fd=new FileDescriptor();
	FileInputStream fis = new FileInputStream("/sdcard/gpsaugmentat/media/sunete/avertizari/atidepasitlimitadeviteza.mp3"); 
    fd = fis.getFD(); 
    player.reset();
    player.setDataSource(fd);
    player.prepare();
    player.start();
	} 
	catch(Exception e){
		 
	} 
 
} 
public void atiajunsladestinatie(){ 
	try{ 
		FileDescriptor fd=new FileDescriptor();