public static void openFileIntent(Context context,File openFile){
  if (context != null && openFile.exists()) {
    try {
      Intent intent=getFileIntent(context,openFile);
      context.startActivity(intent);
    }
 catch (    Exception e) {
      GlobalUtils.logThis(TAG,"openFileIntent Exception",e);
    }
  }
}

public static void openFileIntent ( Context context , File openFile ) { if ( context != null && openFile . exists ( ) ) { try { Intent intent = getFileIntent ( context , openFile ) ; context . startActivity ( intent ) ; } catch ( Exception e ) { GlobalUtils . logThis ( TAG , "openFileIntent Exception" , e ) ; } } }
open file using intent
