0

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";
Sufian
  • 6,405
  • 16
  • 66
  • 120
encod3d
  • 1
  • 1
  • 3

0 Answers0