A Complete Solution For Barcode Generation and Recognition in Android Using Powerful Aspose.BarCode Cloud APIs

Aspose.BarCode for Cloud

Aspose.BarCode for CloudAspose.BarCode for Cloud’s platform independent document manipulation API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud. Aspose.BarCode for Cloud allows developers to quickly and easily add barcode generation and recognition functionality to their applications. Aspose.BarCode for Cloud is a complete solution for barcode generation and recognition. It helps us to generate barcode images from scratch in linear (1D), two dimensional (2D), and postal formats. Generate barcode images in a variety of image formats: JPEG, PNG, GIF, BMP, TIFF and many others. Recognize barcodes from different image types Learn More Aspose.Barcode Cloud

What’s new in the latest release

This is a major revamp release for Aspose.BarCode Cloud SDK for Android. It covers all the Aspose.BarCode Cloud APIs. This SDK provides a complete solution for barcode generation and recognition in Android using powerful Aspose.BarCode Cloud APIs, so you can perform barcode generation and recognition operations in the cloud seamlessly. Source Code Repository Complete source code of this release of Aspose.BarCode Cloud SDK for Android is freely available on your favorite GitHub repository.
  • Aspose.BarCode Cloud SDK for Android – v1.0.0
Setup Aspose.BarCode Cloud SDK for Android is also available as released artifacts in the Bintray Maven Repository. You can bypass GitHub source code repository and depend directly on the released artifacts from Bintray Maven Repository. Aspose.BarCodeCloud SDK for Android is also available on JCenter which is default for Android Studio. For Setup details please check the documentation. Gradle Dependency – Aspose.BarCode Cloud SDK for Android
compile 'com.aspose:aspose-cloud-barcode-android:1.0.0'
Data In order to manipulate any files, you first need to upload them to the Aspose cloud storage or 3rd party cloud storage using Aspose.Storage Cloud SDK for Android. Gradle Dependency – Aspose Cloud Storage SDK for Android
compile 'com.aspose:aspose-cloud-storage-android:1.0.0'
Quick SDK Tutorial

 //Instantiate Aspose Storage Cloud API SDK 
  StorageApi storageApi = new StorageApi(apiKey, appSID,true);

  //Instantiate Aspose BarCode Cloud API SDK
  BarcodeApi barcodeApi = new BarcodeApi(apiKey, appSID,true);

  //set input file name
  String name = "sample-barcode";
  String text = "AsposeBarCode";
  String type = "Code128";
  String format = "jpeg";
  Float resolutionX = 0.0f;
  Float resolutionY = 0.0f;
  Float dimensionX = 0.0f;
  Float dimensionY = 0.0f;
  String codeLocation = "Below";
  String grUnit = "mm";
  String autoSize = "true";
  Float barHeight = 0.0f;
  Float imageHeight = 0.0f;
  Float imageWidth = 0.0f;
  String imageQuality = "default";
  Float rotAngle = 0.0f;
  Float topMargin = 0.0f;
  Float bottomMargin = 0.0f;
  Float leftMargin = 0.0f;
  Float rightMargin = 0.0f;
  String enableChecksum = "";
  String storage = "";
  String folder = "";             
  File file = null ;

  //invoke Aspose.BarCode Cloud SDK API to create barcode and put in cloud storage          
  SaaSposeResponse apiResponse = barcodeApi.PutBarcodeGenerateFile(name, text, type, format, 
     resolutionX, resolutionY, dimensionX, dimensionY, codeLocation, grUnit,
     autoSize, barHeight, imageHeight, imageWidth, imageQuality, 
     rotAngle, topMargin, bottomMargin, leftMargin, rightMargin, 
     enableChecksum, storage, folder, file);       

     }catch(Exception e){
             e.printStackTrace();
         }
Aspose.BarCode Cloud API Documentation Aspose.BarCode for Cloud Documentation is available to guide developers to get familiar with the specific resources and operations within the Aspose.BarCode for Cloud REST API. Aspose.BarCode Cloud SDK for Android Examples Aspose.BarCode Cloud SDK for Android Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the Aspose.BarCode for Cloud REST API. Please see the SDK examples of following categories. Start a Free Trial Today Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.