本帖最后由 nuist320 于 2010-07-13 22:48:47 编辑

解决方案 »

  1.   

    呵呵,我也同问中啊,不知道Document to go 那种软件是怎么做的,网上有MS公司放出的官方OFFICE格式二进制分析资料,不知道是不是可以从这方面入手研究呢?
      

  2.   

    可以用java 的PDF引擎来实现
      

  3.   

    我只在SE上弄过pdfbox不知道用这个能解决你的问题不 你查查apache的pdfbox 开源的
      

  4.   

      //android获取一个用于打开PDF文件的intent
      public static Intent getPdfFileIntent(String param)
      {
        Intent intent = new Intent("android.intent.action.VIEW");
        intent.addCategory("android.intent.category.DEFAULT");
        intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        Uri localUri = Uri.fromFile(new File(param));
        intent.setDataAndType(localUri, "application/pdf");
        return intent;
      }
      

  5.   

    android用于打开各种文件的intent,包括以下文件PDF,PPT,WORD,EXCEL,CHM,HTML,TEXT,AUDIO,VIDEOhttp://hi.baidu.com/wishwingliao/blog/item/e2172297a880a87855fb96cb.html
      

  6.   

    根本没用啊,只会报找不到activity的错
      

  7.   

       1. WebView webview = (WebView) findViewById(R.id.wv);  
       2. webview.getSettings().setJavaScriptEnabled(true);   
       3. String pdf ="http://www.*****.pdf";  
       4. webview.loadUrl("http://docs.google.com/gview?embedded=true&url=" + pdf);