0

I gain precious time by launching pdf from the terminal in Linux

evince ~/mypdf.pdf

What is the exact command that allows me to do that on android?

This post gives the following template:

am start -a android.intent.action.MAIN -n my.domain.myApp/my.domain.myApp.myClass

*How to modify this command to launch a pdf**

1 Answer 1

2

I am not sure if you can starting an intent with a relative file name. Better use the absolute file name and use am start to view the file:

am start -a android.intent.action.VIEW -d file:///storage/emulated/0/mypdf.pdf -t application/pdf

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .