// For complete examples and data files, please go to https://github.com/aspose-pdf/Aspose.PDF-for-Cloud
String fileName = "sample1-field.pdf";
String fieldName = "textbox1";
String storage = "";
String folder = "";
File input = Utils.stream2file("input","pdf", context.getResources().openRawResource(R.raw.sample_field));
try
{
	StorageApi storageApi = new StorageApi(Configuration.apiKey, Configuration.appSID, true);
	// Instantiate Aspose Words API SDK
	PdfApi pdfApi = new PdfApi(Configuration.apiKey, Configuration.appSID, true);
    // Upload source file to aspose cloud storage
    storageApi.PutCreate(fileName, "", "", input);
    // Invoke Aspose.PDF Cloud SDK API to get particular field
    FieldResponse apiResponse = pdfApi.GetField(fileName, fieldName, storage, folder);
    if (apiResponse != null && apiResponse.getStatus().equals("OK"))
    {
        Field field = apiResponse.getField();
        System.out.println("Name" + field.getName());
        System.out.println("Value" + field.getValues().get(0));
    }
}
catch (Exception ex)
{
    ex.printStackTrace();
}