So i have been looking a bit on the web and i found nothing really; I need a simple piece of code that will let me check if two files exist, If one of them does not, make a toast message error. Heres what i have tried (I thought it would work, lol)
if((file1 && file2.exists())){
...
}else{
Toast.makeText(MainActivity.this, "Some files are missing :(", Toast.LENGTH_LONG).show();
}
Aucun commentaire:
Enregistrer un commentaire