Skip to content

Commit e82b655

Browse files
committed
Updated sources
0 parents  commit e82b655

231 files changed

Lines changed: 28326 additions & 0 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.

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
*.class
2+
3+
# Mobile Tools for Java (J2ME)
4+
.mtj.tmp/
5+
6+
# Package Files #
7+
*.jar
8+
*.war
9+
*.ear
10+
11+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
12+
hs_err_pid*
13+
14+
# build files
15+
**/target
16+
target
17+
build
18+
19+
.settings/
20+
.classpath
21+
.project

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2003-2018 Aspose Pty Ltd
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# GroupDocs.Conversion Cloud SDK for Android
2+
This repository contains GroupDocs.Conversion Cloud SDK for Android source code. This SDK allows you to work with GroupDocs.Conversion Cloud REST APIs in your Android applications on Java language.
3+
4+
5+
## Installation
6+
Add Internet permission in the AndroidManifest.xml. Example:
7+
```xml
8+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="<package name>">
9+
<uses-permission android:name="android.permission.INTERNET" />
10+
...
11+
```
12+
13+
Add following repository and dependency to your android module's build.gradle
14+
after "apply plugin: 'com.android.application'" section:
15+
```
16+
repositories {
17+
maven {
18+
url "https://repository.groupdocs.cloud/repo/"
19+
}
20+
}
21+
22+
...
23+
dependencies {
24+
...
25+
implementation 'com.groupdocs:groupdocs-conversion-cloud:19.5'
26+
}
27+
```
28+
29+
## Getting Started
30+
31+
Please follow the [installation](#installation) instruction and use the following Java code:
32+
33+
```java
34+
import com.groupdocs.cloud.conversion.client.*;
35+
import com.groupdocs.cloud.conversion.model.*;
36+
import com.groupdocs.cloud.conversion.api.InfoApi;
37+
38+
39+
public class ApiExample {
40+
41+
public static void getSupportedFormats() {
42+
43+
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
44+
String appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
45+
String appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
46+
47+
Configuration configuration = new Configuration(appSid, appKey);
48+
49+
InfoApi infoApi = new InfoApi(configuration);
50+
51+
try {
52+
FormatsResult response = infoApi.getSupportedFileFormats();
53+
for (Format format : response.getFormats()) {
54+
System.out.println(format.getFileFormat());
55+
}
56+
57+
} catch (ApiException e) {
58+
System.err.println("Failed to get supported file formats");
59+
e.printStackTrace();
60+
61+
}
62+
63+
}
64+
}
65+
```
66+
67+
## Licensing
68+
All GroupDocs.Conversion Cloud SDKs are licensed under [MIT License](LICENSE).
69+
70+
## Resources
71+
+ [**Website**](https://www.groupdocs.cloud)
72+
+ [**Product Home**](https://products.groupdocs.cloud/conversion)
73+
+ [**Documentation**](https://docs.groupdocs.cloud/display/conversioncloud/Home)
74+
+ [**Free Support Forum**](https://forum.groupdocs.cloud/c/conversion)
75+
+ [**Blog**](https://blog.groupdocs.cloud/category/conversion)
76+
77+
## Contact Us
78+
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/conversion).

0 commit comments

Comments
 (0)