Android Samples

Samples that show how to use Mobile Services as a backend for your Android apps.

view Windows Store Windows Phone iOS Android


Sample: LensRocket

LensRocket is a demo application that shows how you can build a photo and video sharing social app using Azure Mobile Services, Blob Storage, and Notification Hubs. To learn more, check out the release announcement or try the app from Google Play.

Sample: Authenticating to Facebook, Google, Microsoft, Twitter, or Custom Authentication with Mobile Services

This sample demonstrates how you can authenticate users to Facebook, Google, Microsoft, and Twitter in your Android applications using Mobile Services. Additionally, it shows how to perform custom authentication, cache user tokens, as well as how to retry requests when user tokens expire.

Sample: Tic Tac Toe Leaderboard

This sample demonstrates how to make a simple leaderboard that is stored in Mobile Services and displayed in the application. The game in this application is Tic Tac Toe and each player's wins, losses, and ties are recorded and then shown on the scores screen.

Sample: Feedback

This sample shows an easy way to put a feedback form into an Android application to capture feedback and store it in Mobile Services. In this scenario, the user can enter comments, their email address, and a 1 – 5 star rating before submitting their feedback. Additionally, this sample was generated so the files used to enter the feedback and send it to Mobile Services can be copied into a different Android project with minimal effort.

Sample: Connecting to Storage

This sample demonstrates how you can make use of Azure Table and Blob Storage from an Android app using Mobile Services as a proxy layer. This means you can securely access tables and blobs through Mobile Services instead of needing to store the storage account key in your client side code. This sample also shows how to generate a Shared Access Signature in your Mobile Service and return that to the Android app which can then use it to safely upload an image to Blob Storage.