Changeset ba6bc7c in dispositivos_moviles for TibisayMovil/src/ve/gob/cenditel/tibisaymovil/SelectCertificateToEncryptActivity.java
- Timestamp:
- Nov 11, 2013, 10:29:28 AM (11 years ago)
- Branches:
- master
- Children:
- 4c4873f
- Parents:
- 42e7061
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TibisayMovil/src/ve/gob/cenditel/tibisaymovil/SelectCertificateToEncryptActivity.java
rc14b8d2 rba6bc7c 462 462 certificateToEncrypt = SelectCertificateToEncryptActivity.this.selected.getAbsolutePath(); 463 463 464 Toast.makeText(getApplicationContext(), "SelectCertificateToEncryptActivity: "+certificateToEncrypt, Toast.LENGTH_SHORT).show();464 //Toast.makeText(getApplicationContext(), "SelectCertificateToEncryptActivity: "+certificateToEncrypt, Toast.LENGTH_SHORT).show(); 465 465 466 466 … … 499 499 private void encryptFile(final String fileToEncrypt, final String certificateToEncrypt) { 500 500 501 Toast.makeText(getApplicationContext(), "Encrypting file: " + fileToEncrypt, Toast.LENGTH_SHORT).show();501 //Toast.makeText(getApplicationContext(), "Encrypting file: " + fileToEncrypt, Toast.LENGTH_SHORT).show(); 502 502 503 503 504 504 // chequear disponibilidad de directorio de certificados 505 505 if (!checkCertificatesDirectoryAvailability()){ 506 Toast.makeText(getApplicationContext(), "SelectCertificateToEncryptActivity: directorio no disponible", Toast.LENGTH_SHORT).show();506 //Toast.makeText(getApplicationContext(), "SelectCertificateToEncryptActivity: directorio no disponible", Toast.LENGTH_SHORT).show(); 507 507 508 508 finish(); … … 655 655 656 656 outFile = encrypted_dir_files + fIn.getName()+".cdoc"; 657 Toast.makeText(getApplicationContext(), "outFile: " + outFile, Toast.LENGTH_SHORT).show();657 //Toast.makeText(getApplicationContext(), "outFile: " + outFile, Toast.LENGTH_SHORT).show(); 658 658 659 659 … … 876 876 // We can read and write the media 877 877 mExternalStorageAvailable = mExternalStorageWriteable = true; 878 Toast.makeText(getApplicationContext(), "We can read and write the media", Toast.LENGTH_SHORT).show();878 //Toast.makeText(getApplicationContext(), "We can read and write the media", Toast.LENGTH_SHORT).show(); 879 879 880 880 // Crear directorio CertificatesToEncrypt donde se almacenan los certificados de … … 896 896 mExternalStorageAvailable = true; 897 897 mExternalStorageWriteable = false; 898 Toast.makeText(getApplicationContext(), "We can only read the media", Toast.LENGTH_SHORT).show();898 //Toast.makeText(getApplicationContext(), "We can only read the media", Toast.LENGTH_SHORT).show(); 899 899 900 900 builder.setMessage("Directorio "+certificatesDir+ " montado de solo lectura. No se pueden almancenar certificados.").setTitle("Error:"); … … 905 905 // to know is we can neither read nor write 906 906 mExternalStorageAvailable = mExternalStorageWriteable = false; 907 Toast.makeText(getApplicationContext(), "we can neither read nor write", Toast.LENGTH_SHORT).show();907 //Toast.makeText(getApplicationContext(), "we can neither read nor write", Toast.LENGTH_SHORT).show(); 908 908 909 909 builder.setMessage("Directorio "+certificatesDir+ " no está disponible. No se pueden almancenar certificados.").setTitle("Error:"); … … 941 941 { 942 942 e.printStackTrace(); 943 Toast.makeText(this, "Could not initiate File System.. Is Sdcard mounted properly?", Toast.LENGTH_LONG).show(); 943 //Toast.makeText(this, "Could not initiate File System.. Is Sdcard mounted properly?", Toast.LENGTH_LONG).show(); 944 Toast.makeText(this, "No se pudo iniciar el sistema de archivos. ¿Está la SDCARD montada?", Toast.LENGTH_LONG).show(); 944 945 return false; 945 946 }
Note: See TracChangeset
for help on using the changeset viewer.