@Deprecated public String GetInfoFromFile(){
  FileInputStream in;
  try {
    File cacheRoot=new File(getSdcardPath(),packageName);
    if (!cacheRoot.exists()) {
      return null;
    }
    File cacheFile=new File(cacheRoot,"mobclick_agent_cached_" + packageName);
    if (!cacheFile.exists()) {
      return null;
    }
    in=new FileInputStream(cacheFile);
    StringBuffer sb=new StringBuffer();
    int i=0;
    byte[] s=new byte[1024 * 4];
    while ((i=in.read(s)) != -1) {
      sb.append(new String(s,0,i));
    }
    return sb.toString();
  }
 catch (  Exception e) {
    e.printStackTrace();
    return null;
  }
}

@ Deprecated public String GetInfoFromFile ( ) { FileInputStream in ; try { File cacheRoot = new File ( getSdcardPath ( ) , packageName ) ; if ( ! cacheRoot . exists ( ) ) { return null ; } File cacheFile = new File ( cacheRoot , "mobclick_agent_cached_" + packageName ) ; if ( ! cacheFile . exists ( ) ) { return null ; } in = new FileInputStream ( cacheFile ) ; StringBuffer sb = new StringBuffer ( ) ; int i = 0 ; byte [ ] s = new byte [ 1024 * 4 ] ; while ( ( i = in . read ( s ) ) != - 1 ) { sb . append ( new String ( s , 0 , i ) ) ; } return sb . toString ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; return null ; } }
get event info from cached file
