This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/android/save-a-document/to-document-engine.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Save PDF to Document Engine on Android | Nutrient SDK

Document Engine stores documents and annotations on a server. Nutrient Instant downloads documents and synchronizes annotations across Android, iOS, and Web apps. For integration details, refer to the Nutrient Instant guide.

By default, Instant synchronizes annotation changes in real time without an explicit save request from your app. For app-controlled synchronization, refer to the manual synchronization guide.

Instant layers represent separate annotation sets on a document. For example, create one layer per student to keep assignment answers separate. For details, refer to the Instant layers guide.

Instant stores offline edits and synchronizes them when a connection becomes available. For details, refer to the offline editing guide.

Uploading a file to Document Engine from the client

To move a local file into Document Engine, implement these steps:

  1. Upload the file from your app to your backend.
  2. Forward the file from your backend to Document Engine.
  3. Store the document identifier that Document Engine returns.
  4. Return a JSON Web Token (JWT) granting document access from your backend to your app.
  5. Download the document with Nutrient Instant using the JWT.

Document Engine stores the PDF, annotations, and metadata. Your backend only needs to store the identifier. Document Engine and Instant now manage the document for collaboration, so the app no longer needs the original local file.

For details, refer to the Document Engine guide and the uploading a document guide.