Copy link to clipboard
Copied
Is it possible to implement the pdf services api in an android application (Java)?
1 Correct answer
No clue there, I mainly do JS and Python. However, if you skip the SDK and hit the REST APIs, it should be trivial.
Copy link to clipboard
Copied
You can implement it anywhere that can make a HTTP call. However - if you have it in a mobile app, it's possible that someone could sniff the network request to see the client id and secret being exchanged for an access token. (I assume so anyway, I know HTTPS is encrypted, but I'd worry about someone decrypting the mobile app itself.)
If, however, you proxy the calls to a server application, it would be safe. I would imagine you would require yours users to login, pass their credentials to the server to ensure an authorized user is calling, etc etc.
Copy link to clipboard
Copied
Thanks for the reply.
For my use case, I am not worried about the security. I am trying to use the API to compress a pdf in an app that is kept within my company.
I guess my question isn't entirely straightforward. I was able to set up the pdfservices library easily enough, but when it came to running the code, it would not work. I am sure that this is due to the differences Android adds into the mix. So, I guess what I am trying to ask is are you aware of any way to import the pdfservices api into an Android application?
If this deserves a separate post, please let me know.
Thanks!
Copy link to clipboard
Copied
No clue there, I mainly do JS and Python. However, if you skip the SDK and hit the REST APIs, it should be trivial.

