I made my own FilePicker (see Attached)
I wanted it to work like FileDialog (not sure how it completely works)
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I didn't want the CallBacks so I used wait for
My FilePicker
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I wanted the program to be standalone so you didn't need to include any other code so I embedded some of Don Manfred's WildCardList program (gave him credit of course) so that the program was just a single basic Class Module.
One problem I had was if I try to add it to my library of other functions I get a Typeface error when using it I believe this is because I am using Typeface.FONTAWESOME in the code and this is not carrying forward into the library (I know I saw a post on this but haven't been able to find it).
In any case it works find as an Included Module
Enjoy
BobVal
NOTE: Zip file contains a working Example should just compile and run
NOTE: Found a bug in OPC fixed Sept/2/2018 7:18 EST
			
			I wanted it to work like FileDialog (not sure how it completely works)
			
				B4X:
			
		
		
		           ret = fd.Show("Pick Database to restore", "Restore", "Cancel", "", Null)I didn't want the CallBacks so I used wait for
My FilePicker
			
				B4X:
			
		
		
		    wait for (FilePicker.CreateScreen(File.Combine(File.DirRootExternal, "Download"), "*.db", "", "Pick a database to restore", "", "Restore")) complete (Result As cTFilePickerResult)
 
   Log("Result Completed:" &Result.Completed &"  IsValid:" &Result.IsValid &"   Result:" &Result.FullFileName)I wanted the program to be standalone so you didn't need to include any other code so I embedded some of Don Manfred's WildCardList program (gave him credit of course) so that the program was just a single basic Class Module.
One problem I had was if I try to add it to my library of other functions I get a Typeface error when using it I believe this is because I am using Typeface.FONTAWESOME in the code and this is not carrying forward into the library (I know I saw a post on this but haven't been able to find it).
In any case it works find as an Included Module
Enjoy
BobVal
NOTE: Zip file contains a working Example should just compile and run
NOTE: Found a bug in OPC fixed Sept/2/2018 7:18 EST
Attachments
			
				Last edited: 
			
		
	
							 
				 
			 
			 
			 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		