Skip to content

Commit 74b1f0c

Browse files
committed
Updated sources
1 parent e285ed0 commit 74b1f0c

83 files changed

Lines changed: 180 additions & 155 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2003-2019 Aspose Pty Ltd
3+
Copyright (c) 2003-2021 Aspose Pty Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 65 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,29 @@
1-
![](https://img.shields.io/badge/api-v1.0-lightgrey) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/groupdocs-editor-cloud/groupdocs-editor-cloud-android) [![GitHub license](https://img.shields.io/github/license/groupdocs-editor-cloud/groupdocs-editor-cloud-android)](https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-android)
1+
# GroupDocs.Editor Cloud SDK for Android
22

3-
# Android SDK to Document Editor REST API
3+
This repository contains GroupDocs.Editor Cloud SDK for Android source code. This SDK allows you to work with GroupDocs.Editor Cloud REST APIs in your Android applications on Java language.
44

5-
[GroupDocs.Editor Cloud SDK for Android](https://products.groupdocs.cloud/editor/android) wraps GroupDocs.Editor RESTful API so you may integrate Document Editing features in your own apps with zero initial cost.
5+
GroupDocs.Editor Cloud allows you to edit documents across wide range of supported document types:
66

7-
GroupDocs.Editor Cloud API allows the developers to edit most popular document formats using front-end WYSIWYG editors - without needing the applications like OpenOffice or Microsoft Office. Just load documents via GroupDocs.Editor into any WYSIWYG editor, edit document in a way you want and save it back to original document format.
7+
* Microsoft Word documents - DOC, DOCX, DOCM, DOT, DOTM, DOTX, RTF, FlatOpc, WordML, TXT;
8+
* Microsoft Excel spreadsheets - XLS, XLSX, XLSM, XLT, XLTX, XLTM, XLSB, SpreadsheetML, CSV, TSV;
9+
* Microsoft PowerPoint presentations - PPT, PPTX, PPTM, POT, PPS etc.;
10+
* Open Document formats - ODT, OTT, ODS, ODP, OTP;
11+
* Markup - HTML, MHTML, XML.
812

9-
## Document Editing in the Cloud
13+
## Installation
1014

11-
GroupDocs.Editor Cloud provides a set of options to customize the editing process dependending on the document type.
12-
13-
**Word Processing:** Edit document in a flow or paged mode, consider language information for multi-language document editing, manage font extraction to provide the same document editing and appearance behavior in different environments.\
14-
**Spreadsheets:** Supports multi-tabbed spreadsheet editing with the ability to specify the index of the currently edited worksheet.\
15-
**Comma-Separated & Tab-Separated Values:** Specify separator, flexible numeric and dates conversion, memory usage optimization for large files.\
16-
**Markup:** Fix incorrect document structure, URI & e-mail address recognition, highlight and formatting options.
17-
18-
## Document Information Extraction
19-
20-
GroupDocs.Editor Cloud also provides the ability to extract basic information about the edited document.
21-
22-
- Document type
23-
- Document size
24-
- Pages count
25-
26-
Check out the [Developer's Guide](https://docs.groupdocs.cloud/editor/developer-guide/) to know more about GroupDocs.Editor REST API.
27-
28-
## Microsoft Office Formats
29-
30-
**Microsoft Word:** DOC, DOCX, DOCM, DOT, DOTM, DOTX, RTF, FlatOpc, WordML\
31-
**Microsoft Excel:** XLS, XLSX, XLSM, XLT, XLTX, XLTM, XLSB, XLAM, SpreadsheetML\
32-
**Microsoft PowerPoint:** PPT, PPTX, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM
33-
34-
## Other Formats
35-
36-
**OpenDocument:** ODT, OTT, ODP, OTP, ODS, FODS\
37-
**Markup:** HTML, XML
38-
**Others:** SXC, DIF, DSV, TXT, CSV, TSV
39-
40-
## Get Started with GroupDocs.Editor Cloud SDK for Android
41-
42-
First create an account at [GroupDocs for Cloud](https://dashboard.groupdocs.cloud/) and get your application information. Next, follow the steps as given below.
43-
44-
### Installation
45-
46-
Add **Internet Permission** to the AndroidManifest.xml as follows.
15+
Add Internet permission in the AndroidManifest.xml. Example:
4716

4817
```xml
4918
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="<package name>">
5019
<uses-permission android:name="android.permission.INTERNET" />
5120
...
5221
```
5322

54-
Add following repository and dependency to your android module's build.gradle after "apply plugin: 'com.android.application'" section.
55-
```
23+
Add following repository and dependency to your android module's build.gradle
24+
after "apply plugin: 'com.android.application'" section:
25+
26+
```javascript
5627
repositories {
5728
maven {
5829
url "https://repository.groupdocs.cloud/repo/"
@@ -62,16 +33,60 @@ repositories {
6233
...
6334
dependencies {
6435
...
65-
implementation 'com.groupdocs:groupdocs-editor-cloud:19.11'
36+
implementation 'com.groupdocs:groupdocs-editor-cloud:21.7'
6637
}
6738
```
6839

69-
## GroupDocs.Editor Cloud SDKs in Popular Languages
40+
## Getting Started
41+
42+
Please follow the [installation](#installation) instruction and use the following Java code:
43+
44+
```java
45+
import com.groupdocs.cloud.editor.client.*;
46+
import com.groupdocs.cloud.editor.model.*;
47+
import com.groupdocs.cloud.editor.api.InfoApi;
48+
49+
50+
public class ApiExample {
51+
52+
public static void getSupportedFormats() {
53+
54+
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
55+
String appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
56+
String appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
57+
58+
Configuration configuration = new Configuration(appSid, appKey);
59+
60+
InfoApi infoApi = new InfoApi(configuration);
61+
62+
try {
63+
FormatsResult response = infoApi.getSupportedFileFormats();
64+
for (Format format : response.getFormats()) {
65+
System.out.println(format.getFileFormat());
66+
}
67+
68+
} catch (ApiException e) {
69+
System.err.println("Failed to get supported file formats");
70+
e.printStackTrace();
71+
72+
}
73+
74+
}
75+
}
76+
```
77+
78+
## Licensing
79+
80+
All GroupDocs.Editor Cloud SDKs are licensed under [MIT License](LICENSE).
81+
82+
## Resources
7083

71-
| .NET | Java | PHP | Python | Ruby | Node.js | Android |
72-
|---|---|---|---|---|---|---|
73-
| [GitHub](https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-dotnet) | [GitHub](https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-java) | [GitHub](https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-php) | [GitHub](https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-python) | [GitHub](https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-ruby) | [GitHub](https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-node) | [GitHub](https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-android) |
74-
| [NuGet](https://www.nuget.org/packages/GroupDocs.Editor-Cloud/) | [Maven](https://repository.groupdocs.cloud/webapp/#/artifacts/browse/tree/General/repo/com/groupdocs/groupdocs-editor-cloud) | [Composer](https://packagist.org/packages/groupdocscloud/groupdocs-editor-cloud) | [PIP](https://pypi.org/project/groupdocs-editor-cloud/) | [GEM](https://rubygems.org/gems/groupdocs_editor_cloud) | [NPM](https://www.npmjs.com/package/groupdocs-editor-cloud) | [Maven](https://repository.groupdocs.cloud/webapp/#/artifacts/browse/tree/General/repo/com/groupdocs/groupdocs-editor-cloud-android) |
84+
+[**Website**](https://www.groupdocs.cloud)
85+
+[**Product Home**](https://products.groupdocs.cloud/editor)
86+
+[**Documentation**](https://docs.groupdocs.cloud/editor)
87+
+[**Free Support Forum**](https://forum.groupdocs.cloud/c/editor)
88+
+[**Blog**](https://blog.groupdocs.cloud/category/editor)
7589

76-
[Home](https://www.groupdocs.cloud/) | [Product Page](https://products.groupdocs.cloud/editor/android) | [Documentation](https://docs.groupdocs.cloud/editor/) | [Live Demo](https://products.groupdocs.app/editor/total) | [API Reference](https://apireference.groupdocs.cloud/editor/) | [Code Samples](https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-java-samples) | [Blog](https://blog.groupdocs.cloud/category/editor/) | [Free Support](https://forum.groupdocs.cloud/c/editor) | [Free Trial](https://dashboard.groupdocs.cloud)
90+
## Contact Us
7791

92+
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/editor).

pom.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.groupdocs</groupId>
5-
<artifactId>groupdocs-editor-cloud</artifactId>
5+
<artifactId>groupdocs-editor-cloud-android</artifactId>
66
<packaging>jar</packaging>
7-
<name>groupdocs-editor-cloud</name>
8-
<version>19.11</version>
9-
<url>https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-java</url>
7+
<name>groupdocs-editor-cloud-android</name>
8+
<version>21.7</version>
9+
<url>https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-android</url>
1010
<description>GroupDocs.Editor Cloud allows you to edit most popular document formats using 3rd party front-end WYSIWYG editors without any additional applications. No Open Office or MS Office is required to edit a word or spreadsheet document. Edit DOCX/DOC, PPTX/PPT, XLSX/XLS, ODT, ODS, ODP, TSV/DSV, TXT and many other document formats with GroupDocs.Editor Cloud API.</description>
1111
<scm>
12-
<connection>scm:git:git@github.com:groupdocs-editor-cloud/groupdocs-editor-cloud-java.git</connection>
13-
<developerConnection>scm:git:git@github.com:groupdocs-editor-cloud/groupdocs-editor-cloud-java.git</developerConnection>
14-
<url>https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-java</url>
12+
<connection>scm:git:git@github.com:groupdocs-editor-cloud/groupdocs-editor-cloud-android.git</connection>
13+
<developerConnection>scm:git:git@github.com:groupdocs-editor-cloud/groupdocs-editor-cloud-android.git</developerConnection>
14+
<url>https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-android</url>
1515
</scm>
1616

1717
<licenses>
1818
<license>
1919
<name>MIT License</name>
20-
<url>https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-java/blob/master/LICENSE</url>
20+
<url>https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-android/blob/master/LICENSE</url>
2121
<distribution>repo</distribution>
2222
</license>
2323
</licenses>
@@ -183,8 +183,8 @@
183183
<configuration>
184184
<repositoryId>Groupdocs-Cloud-QA</repositoryId>
185185
<url>https://repository-qa.groupdocs.cloud/repo</url>
186-
<file>target/groupdocs-editor-cloud-${project.version}.jar</file>
187-
<javadoc>target/groupdocs-editor-cloud-${project.version}-javadoc.jar</javadoc>
186+
<file>target/groupdocs-editor-cloud-android-${project.version}.jar</file>
187+
<javadoc>target/groupdocs-editor-cloud-android-${project.version}-javadoc.jar</javadoc>
188188
<pomFile>simplified-pom.xml</pomFile>
189189
<packaging>${project.packaging}</packaging>
190190
</configuration>
@@ -264,8 +264,8 @@
264264
<configuration>
265265
<repositoryId>Groupdocs-Cloud-PROD</repositoryId>
266266
<url>https://repository.groupdocs.cloud/repo</url>
267-
<file>target/groupdocs-editor-cloud-${project.version}.jar</file>
268-
<javadoc>target/groupdocs-editor-cloud-${project.version}-javadoc.jar</javadoc>
267+
<file>target/groupdocs-editor-cloud-android-${project.version}.jar</file>
268+
<javadoc>target/groupdocs-editor-cloud-android-${project.version}-javadoc.jar</javadoc>
269269
<pomFile>simplified-pom.xml</pomFile>
270270
<packaging>${project.packaging}</packaging>
271271
</configuration>
@@ -334,7 +334,7 @@
334334
<gson-version>2.8.1</gson-version>
335335
<threetenbp-version>1.3.5</threetenbp-version>
336336
<maven-plugin-version>1.0.0</maven-plugin-version>
337-
<junit-version>4.12</junit-version>
337+
<junit-version>4.13.1</junit-version>
338338
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
339339
</properties>
340340
</project>

simplified-pom.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<groupId>com.groupdocs</groupId>
7-
<artifactId>groupdocs-editor-cloud</artifactId>
7+
<artifactId>groupdocs-editor-cloud-android</artifactId>
88
<version>{VERSION}</version>
99
<packaging>jar</packaging>
1010

11-
<name>groupdocs-editor-cloud</name>
11+
<name>groupdocs-editor-cloud-android</name>
1212
<description>GroupDocs.Editor Cloud allows you to edit most popular document formats using 3rd party front-end WYSIWYG editors without any additional applications. No Open Office or MS Office is required to edit a word or spreadsheet document. Edit DOCX/DOC, PPTX/PPT, XLSX/XLS, ODT, ODS, ODP, TSV/DSV, TXT and many other document formats with GroupDocs.Editor Cloud API.</description>
13-
<url>https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-java</url>
13+
<url>https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-android</url>
1414

1515
<licenses>
1616
<license>

src/main/java/com/groupdocs/cloud/editor/api/EditApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="EditApi.java">
4-
* Copyright (c) 2003-2019 Aspose Pty Ltd
4+
* Copyright (c) 2003-2021 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/main/java/com/groupdocs/cloud/editor/api/FileApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="FileApi.java">
4-
* Copyright (c) 2003-2019 Aspose Pty Ltd
4+
* Copyright (c) 2003-2021 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/main/java/com/groupdocs/cloud/editor/api/FolderApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="FolderApi.java">
4-
* Copyright (c) 2003-2019 Aspose Pty Ltd
4+
* Copyright (c) 2003-2021 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/main/java/com/groupdocs/cloud/editor/api/InfoApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="InfoApi.java">
4-
* Copyright (c) 2003-2019 Aspose Pty Ltd
4+
* Copyright (c) 2003-2021 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/main/java/com/groupdocs/cloud/editor/api/StorageApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="StorageApi.java">
4-
* Copyright (c) 2003-2019 Aspose Pty Ltd
4+
* Copyright (c) 2003-2021 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

src/main/java/com/groupdocs/cloud/editor/client/ApiCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------------------------------------------------
33
* <copyright company="Aspose Pty Ltd" file="ApiCallback.java">
4-
* Copyright (c) 2003-2019 Aspose Pty Ltd
4+
* Copyright (c) 2003-2021 Aspose Pty Ltd
55
* </copyright>
66
* <summary>
77
* Permission is hereby granted, free of charge, to any person obtaining a copy

0 commit comments

Comments
 (0)