Doc_Sly  
              
                  
                    December 9, 2022, 10:43am
                   
                  1 
               
             
            
              Hi,
I test the Taifun Player Extention.
             
            
              
            
                
           
          
            
            
              Why do you stop and start with same click..? May be you need to give some interval of time between this two events
             
            
              
            
                
           
          
            
              
                Doc_Sly  
              
                  
                    December 9, 2022, 12:29pm
                   
                  3 
               
             
            
              Sorry,
             
            
              
            
                
           
          
            
            
              BTW, what is your android version?
If it is 10+ then you must move the file into ASD
             
            
              
            
                
           
          
            
            
              sorry, ASD it's for SDcard ?
             
            
              
            
                
           
          
            
            
              already multiple discussions are there regaring how to access storage in android 10+ by @Taifun  @Anke  etc etc  pls gothrough the forum,
eg
  
  
    A little trick/tip.... 
Drag out a canvas to your project, set it to  1x1 pixels in size, but keep it visible.
Drag out a File component
Use these blocks...
 [blocksgetASD]  
Works in Companion and for compiled apps, tested on Android 10 
(should work across all android versions....returning the root of the sdcard in pre 10) 
The ASD did not exist before Android 10.
   
 
             
            
              
            
                
           
          
            
              
                Anke  
              
                  
                    December 9, 2022,  1:37pm
                   
                  8 
               
             
            
              
Post the full  path (Player.Souce).
             
            
              
            
                
           
          
            
              
                Doc_Sly  
              
                  
                    December 9, 2022,  2:32pm
                   
                  11 
               
             
            
              hi,
but, i have same error 
             
            
              
            
                
           
          
            
              
                Anke  
              
                  
                    December 9, 2022,  2:38pm
                   
                  12 
               
             
            
              
Are you absolutely sure this path exists?
             
            
              
            
                
           
          
            
              
                Taifun  
              
                  
                    December 9, 2022,  2:42pm
                   
                  13 
               
             
            
              
Replace the spaces by %20App Inventor Extensions: File | Pura Vida Apps 
Taifun
             
            
              
            
                
           
          
            
              
                Doc_Sly  
              
                  
                    December 9, 2022,  2:49pm
                   
                  14 
               
             
            
              file:///storage/emulated/0/Music/Star%20Wars/Punk%20Covers%20-%20Star%20Wars.mp3
             
            
              
            
                
           
          
            
              
                Doc_Sly  
              
                  
                    December 9, 2022,  2:54pm
                   
                  15 
               
             
            
              i tried with no space in path : file:///storage/emulated/0/Music/StarWars/PunkCovers-StarWars.mp3
i have the firts message "Runtime Error" 
             
            
              
            
                
           
          
            
            
              use File component to test if the MP3 file exists.
             
            
              1 Like 
            
            
                
           
          
            
              
                Taifun  
              
                  
                    December 9, 2022,  3:11pm
                   
                  17 
               
             
            
              As test rename the file to something simple...
             
            
              
            
                
           
          
            
              
                Anke  
              
                  
                    December 9, 2022,  3:59pm
                   
                  18 
               
             
            
              
This path works on all Android versions if the file exists.
Note : If you test with the APK, you must request READ permission.
 
             
            
              1 Like 
            
            
                
           
          
            
              
                Doc_Sly  
              
                  
                    December 9, 2022,  3:59pm
                   
                  19 
               
             
            
              i had the ReadExternalStorage
and my code is working 
sorry, my bad, rookie mistake
thanks at all
             
            
              
            
                
           
          
            
              
                Taifun  
              
                  
                    December 9, 2022,  5:17pm
                   
                  20 
               
             
            
              
 Doc_Sly:
 
my code is working
 
 
what about the spaces in the filename?