Reputation: 774
https://developer.android.com/training/printing/custom-docs.html#print-adapter
I found this but it is too complicated I think. I just want to send an existing pdf file to the printer. Is the above way is the only way? I couldn't find anything other that.
Upvotes: 0
Views: 135
Reputation: 2596
I'm not sure what is your goals but, Your options are:
Custom print adapter - Like you saw. You can find easier implementation as CommonsWare wrote.
Google Cloud Printer - An option just if your goal that each of user will print and set the printer itself.
Upvotes: 0
Reputation: 1006554
I found this but it is too complicated I think
I agree. Google doesn't care.
Is the above way is the only way?
AFAIK, yes, though see http://stackoverflow.com/a/20719729/115145 and this for basic implementations.
Upvotes: 3