Changeset e68708b in dispositivos_moviles for TibisayMovil/src


Ignore:
Timestamp:
Oct 25, 2013, 2:05:03 PM (11 years ago)
Author:
Antonio Araujo Brett <aaraujo@…>
Branches:
master
Children:
0a5cb8c
Parents:
647bb1f
Message:

*- Implementada funcionalidad para verificar firma electrónica de documento PDF. Se agregó actividad para desplegar los resultados de la firma de un documento PDF.

Location:
TibisayMovil/src/ve/gob/cenditel/tibisaymovil
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • TibisayMovil/src/ve/gob/cenditel/tibisaymovil/BDOCVerifyResultActivity.java

    rfd4a5b9 re68708b  
    192192                                          doBdocVerification(data.getPath());
    193193                                                }else{
    194                                                         Toast.makeText(getApplicationContext(), "¡Por Implementar!", Toast.LENGTH_SHORT).show();
     194                                                        Toast.makeText(getApplicationContext(), "¡Por Implementar! scheme == file", Toast.LENGTH_SHORT).show();
    195195                                                       
    196196                                                }
     
    232232                                        doBdocVerification(fileToVerify);
    233233                                }else{
    234                                         Toast.makeText(getApplicationContext(), "¡Por Implementar!", Toast.LENGTH_SHORT).show();
     234                                        Toast.makeText(getApplicationContext(), "¡Por Implementar bundle != null!", Toast.LENGTH_SHORT).show();
    235235                                       
     236                                        // ejecutar la verificacion del pdf firmado
     237                                        doPdfVerification(fileToVerify);
    236238                                }
    237239                       
     
    10711073                   // no ocurrió excepcion
    10721074                   Toast.makeText(getApplicationContext(), "Se descargo correctamente el archivo", Toast.LENGTH_LONG).show();
    1073                
    1074                
    1075                
    1076                
     1075               
    10771076           }
    1078            
    1079                  
     1077                             
    10801078       }
    1081        
    1082 
    1083        
    1084 
    1085                
    1086        
     1079
     1080       
    10871081        } // fin de la clase DownloadFileAsync
     1082
     1083        // funcion para verificar un documento pdf     
     1084        private void doPdfVerification(String pdfToVerify) {
     1085               
     1086                Intent intent = new Intent(this, PDFVerifyResultActivity.class);
     1087               
     1088                intent.putExtra("pdfToVerify", pdfToVerify);
     1089               
     1090                startActivity(intent);
     1091               
     1092                finish();
     1093                               
     1094        } // fin de doPdfVerification(String fileToVerify)
     1095
     1096
    10881097}
    10891098
Note: See TracChangeset for help on using the changeset viewer.