Android 7.0 Actualización:
Android 7.0 arrojará FileUriExposedException
si intenta abrir el documento de aplicación con una aplicación externa. Debe implementar FileProvider refiera This Answer.
aquí es una ruta manual.
Using JExcelApi in an Android App
How to read excel file using JXL 2.6.12 jar
pero aquí es un poco más fácil uno.
open application
pero yo supongo que tienes que averiguar la MIME TYPE
.
EDITAR
tiene el tipo MIME, así
Setting mime type for excel document
ACTUALIZACIÓN
así que algo como esto podría funcionar.
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(path, "application/vnd.ms-excel");
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
try {
startActivity(intent);
}
catch (ActivityNotFoundException e) {
Toast.makeText(OpenDoc.this, "No Application Available to View Excel", Toast.LENGTH_SHORT).show();
}
Use jExcel API. http://jexcelapi.sourceforge.net/ – adatapost
Muestra un código en el que estableces la actividad para abrir el archivo de Excel – Ronnie