open a pdf file programmatically

后端 未结 7 2196
广开言路
广开言路 2021-01-06 15:45

I am working on pdf. I am trying to open a pdf file from my application using the code below. But I failed to open.

private void openPdf() {

        File fi         


        
7条回答
  •  庸人自扰
    2021-01-06 15:49

    Try LuxuryMode's method: https://stackoverflow.com/a/8221594/1500067

    I think your just missing the adobe package intent.setPackage("com.adobe.reader");

提交回复
热议问题