RESTful API to efficiently build Android applications for rendering & viewing documents of all popular formats. Render as HTML, PNG, JPG or PDF.
Start Free TrialGroupDocs.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.
Configuration
using available Client Id
and Client Secret
.Configuration
using instance of Configuration
.FileInfo
and set path to input file using FileInfo.setFilePath
method.ViewOptions
and use setFileInfo
with instance of FileInfo
.ViewApi.createView
to render input file into images and HTML.Check out GroupDocs.Viewer Cloud SDK for Android at GitHub if you are looking for the source code to view file in the Cloud.
You can try GroupDocs.Viewer Low-Code Android APIs without any limitations.
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.
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.
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.
import com.groupdocs.cloud.viewer.client.*;
import com.groupdocs.cloud.viewer.model.*;
import com.groupdocs.cloud.viewer.api.InfoApi;
public class ApiExample {
public static void getSupportedFormats() {
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
String appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
String appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
Configuration configuration = new Configuration(appSid, appKey);
InfoApi infoApi = new InfoApi(configuration);
try {
FormatsResult response = infoApi.getSupportedFileFormats();
for (Format format : response.getFormats()) {
System.out.println(format.getFileFormat());
}
} catch (ApiException e) {
System.err.println("Failed to get supported file formats");
e.printStackTrace();
}
}
}
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.
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.
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.
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.
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.
The SDK supports viewing documents in different output formats, including HTML, image (JPEG, PNG, TIFF), and PDF, providing flexibility in how documents are displayed.
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.
Developers have the ability to customize the viewer settings, enabling options such as zooming, rotating pages, enabling or disabling text selection, and more.
The SDK provides functionality to extract metadata information from documents, such as document properties, page count, file size, and other relevant details.
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.
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.
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.
The SDK leverages the high availability of the GroupDocs.Viewer Cloud API, ensuring reliable and uninterrupted document rendering and viewing within Android applications.