|
1 | | - [](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-java) |
| 1 | +  [](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-java) |
2 | 2 | # Android/Java REST API to Process PDF in Cloud |
3 | 3 | [Aspose.PDF Cloud](https://products.aspose.cloud/pdf) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of PDF documents in the cloud. |
4 | 4 |
|
@@ -96,37 +96,21 @@ Then manually install the following JARs: |
96 | 96 | ## Getting Started |
97 | 97 |
|
98 | 98 | Please follow the [installation](#installation) instruction and execute the following Java code: |
| 99 | +## Delete Field from PDF in Android using Java |
99 | 100 |
|
100 | 101 | ```java |
| 102 | + // Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required). |
| 103 | + PdfApi pdfApi = new PdfApi("MY_CLIENT_SECRET", "MY_CLIENT_ID"); |
101 | 104 |
|
102 | | -import com.aspose.asposecloudpdfandroid.*; |
103 | | -import com.aspose.asposecloudpdfandroid.model.*; |
104 | | -import com.aspose.asposecloudpdfandroid.api.PdfApi; |
105 | | - |
106 | | -import java.io.File; |
107 | | -import java.util.*; |
108 | | - |
109 | | -public class PdfApiExample { |
110 | | - |
111 | | - public static void main(String[] args) { |
112 | | - // Get App key and App SID from https://cloud.aspose.com |
113 | | - PdfApi apiInstance = new PdfApi("app_key", "app_sid"); |
114 | | - String name = "name_example"; // String | The document name. |
115 | | - String fieldName = "fieldName_example"; // String | The field name/ |
116 | | - String storage = "storage_example"; // String | The document storage. |
117 | | - String folder = "folder_example"; // String | The document folder. |
118 | | - try { |
119 | | - SaaSposeResponse result = apiInstance.deleteField(name, fieldName, storage, folder); |
120 | | - System.out.println(result); |
121 | | - } catch (ApiException e) { |
122 | | - System.err.println("Exception when calling PdfApi#deleteField"); |
123 | | - e.printStackTrace(); |
124 | | - } |
125 | | - } |
126 | | -} |
| 105 | + String name = "name_example"; // String | The document name. |
| 106 | + String fieldName = "fieldName_example"; // String | The field name/ |
| 107 | + String storage = "storage_example"; // String | The document storage. |
| 108 | + String folder = "folder_example"; // String | The document folder. |
127 | 109 |
|
| 110 | + com.squareup.okhttp.Call result = pdfApi.deleteField(name, fieldName, storage, folder); |
128 | 111 | ``` |
129 | 112 |
|
| 113 | + |
130 | 114 | ## Unit Tests |
131 | 115 | Aspose PDF Cloud SDK includes a suite of unit tests within the "test" subdirectory. These Unit Tests also serves as examples of how to use the Aspose PDF Cloud SDK. |
132 | 116 |
|
@@ -792,7 +776,8 @@ Class | Method | HTTP request | Description |
792 | 776 |
|
793 | 777 | | .NET | Java | PHP | Python | Ruby | Node.js | Android | Swift|Go| |
794 | 778 | |---|---|---|---|---|---|---|--|--| |
795 | | - | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-dotnet) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-java) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-php) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-python) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-ruby) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-node.js) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-android) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-swift)|[GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-perl) |[GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-go) | |
796 | | - | [NuGet](https://www.nuget.org/packages/Aspose.pdf-Cloud/) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-pdf-cloud) | [Composer](https://packagist.org/packages/aspose/pdf-sdk-php) | [PIP](https://pypi.org/project/asposepdfcloud/) | [GEM](https://rubygems.org/gems/aspose_pdf_cloud) | [NPM](https://www.npmjs.com/package/asposepdfcloud) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-pdf-cloud) | [Cocoapods](https://cocoapods.org/pods/AsposepdfCloud)|[Go.Dev](https://pkg.go.dev/github.com/aspose-pdf-cloud/aspose-pdf-cloud-go/) | |
| 779 | + | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-dotnet) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-java) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-php) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-python) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-ruby) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-node.js) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-android) | [GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-swift)|[GitHub](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-go) | |
| 780 | + | [NuGet](https://www.nuget.org/packages/Aspose.pdf-Cloud/) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-pdf-cloud) | [Composer](https://packagist.org/packages/aspose/pdf-sdk-php) | [PIP](https://pypi.org/project/asposepdfcloud/) | [GEM](https://rubygems.org/gems/aspose_pdf_cloud) | [NPM](https://www.npmjs.com/package/asposepdfcloud) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-pdf-cloud) | [Cocoapods](https://cocoapods.org/pods/AsposepdfCloud)|[Go.Dev](https://pkg.go.dev/github.com/aspose-pdf-cloud/aspose-pdf-cloud-go/v20#readme-aspose-pdf-cloud) | |
| 781 | + |
797 | 782 |
|
798 | 783 | [Product Page](https://products.aspose.cloud/pdf/android) | [Documentation](https://docs.aspose.cloud/display/pdfcloud/Home) | [API Reference](https://apireference.aspose.cloud/pdf/) | [Code Samples](https://github.com/aspose-pdf-cloud/aspose-pdf-cloud-android) | [Blog](https://blog.aspose.cloud/category/pdf/) | [Free Support](https://forum.aspose.cloud/c/pdf) | [Free Trial](https://dashboard.aspose.cloud/#/apps) |
0 commit comments