Questions? Feedback? powered by Olark live chat software
Navigáció kihagyása

Azure Storage Service - Photo Uploader Sample for Android

This sample demostrates how to upload photo images from the gallery in Android into a Block Blob in Azure Storage. It shows different buttons for performing actions such as selecting an image from the gallery, uploading an image to the blob storage or listing all the uploaded images.

Note: This is a project for Android Studio, which uses Gradle and references the Microsot Azure Storage Library for Android available in the Central Maven Repository. Also, it runs against the actual service, so it is highly recommended that you use a test container, as you will be creating and deleting actual blobs.

Running this sample

  1. Open the solution with Android Studio.
  2. Open the ImageManager.java file and change the "[ACCOUNT_NAME]" and "[ACCOUNT_KEY]" in the storageConnectionString variable with account and key provided in the Azure Portal.

More information