I'm creating a program which upload backup files to the cloud server, I want to use wildcard characters to upload all files like "*.txt" or ".jpg".
My code is:
String fileWACrypt = Environment.getExternalStorageDirectory().getPath() + "/backup/DMG122.jpg";
but I want
String fileWACrypt = Environment.getExternalStorageDirectory().getPath() + "/backup/*.jpg";