Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Pdf Services API for Android Application

New Here ,
Feb 08, 2024 Feb 08, 2024

Is it possible to implement the pdf services api in an android application (Java)?

402
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Feb 08, 2024 Feb 08, 2024

No clue there, I mainly do JS and Python. However, if you skip the SDK and hit the REST APIs, it should be trivial. 

Translate
Adobe Employee ,
Feb 08, 2024 Feb 08, 2024

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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 08, 2024 Feb 08, 2024

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 08, 2024 Feb 08, 2024
LATEST

No clue there, I mainly do JS and Python. However, if you skip the SDK and hit the REST APIs, it should be trivial. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources