Render & View Documents via Android SDK

RESTful API to efficiently build Android applications for rendering & viewing documents of all popular formats. Render as HTML, PNG, JPG or PDF.

  • GroupDocs.Viewer Cloud SDK for cURL
  • GroupDocs.Viewer Cloud SDK for .NET
  • GroupDocs.Viewer Cloud SDK for Java
  • GroupDocs.Viewer Cloud SDK for PHP
  • GroupDocs.Viewer Cloud SDK for Python
  • GroupDocs.Viewer Cloud SDK for Node.js
  • GroupDocs.Viewer Cloud SDK for Ruby

GroupDocs.Viewer Cloud is a REST API that provides platform and programming language independence. On the other hand, the GroupDocs.Viewer Cloud SDK for Android is built on top of the REST API, offering a higher level of abstraction. This means you can use the SDK without requiring knowledge of the underlying REST API.

The GroupDocs.Viewer Cloud API is a service that allows developers to enhance their applications with document viewing capabilities. It provides a set of functions and endpoints that enable rendering and displaying various document formats, such as PDF, Microsoft Office documents, images, and more.

With the GroupDocs.Viewer Cloud API, developers can integrate features like viewing specific documents in different formats, including HTML, image, PDF, or the original format. The API also offers flexibility in rendering options, allowing the display of the entire document, individual pages, or a custom range of pages.

By utilizing the GroupDocs.Viewer Cloud API, developers can enhance their applications with document viewing functionality without having to build this capability from scratch. This simplifies the development process and reduces the time and effort required to implement document rendering and viewing features.

How to View a file on Android

  • Create an instance of Configuration using available Client Id and Client Secret.
  • Create an instance of Configuration using instance of Configuration.
  • Create an instance of FileInfo and set path to input file using FileInfo.setFilePath method.
  • Create an instance of ViewOptions and use setFileInfo with instance of FileInfo.
  • Use ViewApi.createView to render input file into images and HTML.

Frequently Asked Questions

I want to create my own Android app to view documents?

Check out GroupDocs.Viewer Cloud SDK for Android at GitHub if you are looking for the source code to view file in the Cloud.

Can I try GroupDocs.Viewer REST APIs on Android for free?

You can try GroupDocs.Viewer Low-Code Android APIs without any limitations.

I do not want to upload my confidential files anywhere? What are my options?

GroupDocs.Viewer Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own services using GroupDocs.Viewer High-code APIs which currently drive our REST APIs.

Advanced Document Viewer REST API Features

Render documents as HTML5

Render documents as Image

Rotate, reorder & watermark pages

Render documents as PDF

Render document attachments

APIs are secured and require authentication

An Easy SDK for Developers Who Want to Save Time

Using the GroupDocs Cloud APIs is quite simple as there is nothing to install. Simply create an account at GroupDocs Cloud and get your application information. Once you have the App SID & key, you are ready to give the GroupDocs Cloud REST APIs a try. The SDKs have been developed to facilitate the developers and to let them get started with our APIs real fast by hiding the REST API calls and allowing you to use the features of the API in a native way using Android as the language.

Render a Number of Document Formats

The cloud-based viewer API has the ability to display different document formats quickly, with just a few lines of code. Using the SDK for Android you can find out about the various document formats supported by the SDK.

Get a list of supported file formats - Android


  public class ApiExample {
  public static void getSupportedFormats() {

  //TODO: Get your AppSID and AppKey at (free registration is required).

  Configuration configuration = new Configuration(appSid, appKey);

  InfoApi infoApi = new InfoApi(configuration);

  try {
      FormatsResult response = infoApi.getSupportedFileFormats();
      for (Format format : response.getFormats()) {
      } catch (ApiException e) {
          System.err.println("Failed to get supported file formats");


Efficiently Minify Output Content

One of the most exciting features of our Cloud-based viewer API is its ability to minify the output content. Minification removes comments, extra white-spaces, and other unneeded characters without breaking the content structure. As a result, the page becomes smaller in size and loads faster.

Flexible Rendering of Documents

GroupDocs.Viewer is a powerful document viewer REST API that allows you to display over 85 document formats in your applications. It allows document rendering for the whole document, page by page or custom range of pages.

Customize to Suit your Needs

GroupDocs.Viewer Cloud SDK for Android is 100% tested and out of the box running. The SDK is open source and has an MIT license. The API is easy to customize and changes can be made according to the features you need to add in your application.

Document Rendering

GroupDocs.Viewer Cloud for Android allows rendering and displaying various document formats, including PDF, Microsoft Office documents (Word, Excel, PowerPoint), images, and more within Android applications.

Document Viewing Options

Developers can choose from multiple viewing options, such as viewing the entire document, displaying pages individually, or specifying a custom range of pages to render and view.

Output Formats

The SDK supports viewing documents in different output formats, including HTML, image (JPEG, PNG, TIFF), and PDF, providing flexibility in how documents are displayed.

Simplified Integration

GroupDocs.Viewer Cloud SDK for Android simplifies the integration process, allowing developers to easily incorporate document viewing capabilities into their Android applications without the need to directly interact with the underlying REST API.

Viewer Customization

Developers have the ability to customize the viewer settings, enabling options such as zooming, rotating pages, enabling or disabling text selection, and more.

Metadata Extraction

The SDK provides functionality to extract metadata information from documents, such as document properties, page count, file size, and other relevant details.

Watermarking and Annotations

GroupDocs.Viewer Cloud for Android supports adding watermarks to documents and annotating them with text comments, highlighting, and drawing shapes, facilitating collaboration and document review processes.

Secure Communication

The SDK ensures secure communication with the GroupDocs.Viewer Cloud API using HTTPS, ensuring the privacy and integrity of data transmitted between the Android application and the cloud service.

Efficient Caching

GroupDocs.Viewer Cloud SDK for Android utilizes an efficient caching mechanism, optimizing rendering performance and reducing processing time for subsequent requests for the same document.

High Availability

The SDK leverages the high availability of the GroupDocs.Viewer Cloud API, ensuring reliable and uninterrupted document rendering and viewing within Android applications.


GroupDocs.Viewer Cloud also offers individual document rendering SDKs for other popular languages as listed below: