Presentation and Training Kit: Android Consuming Cloud Data – Powered By Windows Azure


  Goal of this post – To teach you how to demo and Android Application consuming standards-based RESTful Web Services
  This post has a simple goal – to prepare you to give a presentation on how you would communicate to the cloud from an Android phone. The presentation can be given a time range of 30 minutes to an hour, depending on the level of detail you wish to provide. This talk has been given at the Open Android Conference. Details can be found here:
O'Reilly Open Android Conferenceimage https://androidopen.com/android2011/public/schedule/detail/22308

  This is developer-centric – hands-on coding
  This is designed to be a hands-on demo, meaning that there are working samples to demonstrate key concepts. Source code, PowerPoint slides, and videos are all part of this package. All the material is available on my blog posts.

  Resources are publicly available
  All of the materials for this talk are publicly available. This dramatically simplifies follow up with audience members, who frequently ask for the presentation materials

  A flow has been defined for this talk
  There are 4 main sections in this talk. Each section can take from 10 to 15 minutes. Following parts 1-4 below will allow you to give a deep, hands-on code demo of connecting Android mobile applications to the Microsoft Cloud – Windows Azure.
Part Title Abstract
Part 1 Introduction to Mobile and Cloud Mobile and Cloud are 2 technologies that go together. The meteoric rise of mobile computing has created the need for elastic scale. Part 1 will provide facts and figures to support this view.
Part 2 Cloud Vendors – What are your options? There are many cloud vendors that offer various cloud technologies. Many offer specialized services. Part 2 is about understanding the landscape. Windows Azure is the technology of choice for this section. This is a presentation and a talk. 10 minutes can easily be extended to dive deep in options available to mobile users.
Part 3 Building a RESTful Web Service – Hosted in the MS Cloud This is a hands-on section that guides an audience to actually building a RESTful implementation in Windows Azure. This demo is useful because it gives you all the basics to expose a RESTful service that is highly scalable. The RESTful service is based on open standards and can be consumed by not only Android, but also iOS and Windows Phone 7.
Part 4 Building the Android Client. This hands-on code demo builds and Android Application from scratch. An extensive video demo is available that guides you through every step of the process. Learn how to consume RESTful data that is in JSON format.
     

  Part 1
  Introducing Mobile and Cloud
Blog Post - Introduction – How to speak to Cloud and Mobile Development https://blogs.msdn.com/b/brunoterkaly/archive/2011/11/16/presentation-how-to-introduce-cloud-and-mobile-development.aspx
Gartner Study https://www.gartner.com/it/page.jsp?id=1455314
PowerPoint https://brunoblogfiles.com/ppts/AndroidTalkForBlog.pps
Blog Post - Why scale matters https://blogs.msdn.com/b/brunoterkaly/archive/2011/09/27/supporting-billions-of-entities-rows-for-mobile-android-series-part-1-why-scale-matters.aspx

  Part 2
  The cloud landscape. What are some of the other offerings?
Blog Post - What are some high level cloud offerings? https://blogs.msdn.com/b/brunoterkaly/archive/2011/09/27/supporting-billions-of-entities-rows-for-mobile-android-series-part-2-what-are-some-high-level-cloud-offerings.aspx
Blog Post - Azure Pricing https://blogs.technet.com/b/webtech/archive/2011/09/15/plug-in-your-numbers-for-windows-azure-pricing.aspx

  Part 3
  Building an Azure-hosted RESTful web service
Video - Building RESTful Service https://brunoblogfiles.com/videos/BuildRestfulServicePart01.wmv
Blog Post - Video Building an Azure RESTful Service https://blogs.msdn.com/b/brunoterkaly/archive/2011/11/08/video-building-a-restful-service-in-azure.aspx
Blog Post - Building your RESTful Service - Deep walkthrough from File/New Project https://blogs.msdn.com/b/brunoterkaly/archive/2011/09/28/supporting-billions-of-entities-rows-for-mobile-android-series-part-4-building-a-cloud-based-restful-service-for-our-android-ios-and-windows-phone-7-clients.aspx
Utility - Clipboard Viewer - Building a RESTful Service https://brunoblogfiles.com/clipboard/buildRestfulService.zip
Blog Post - Setting up your Portal- Using the Portal and Setting up your Azure Account (Microsoft Cloud) https://blogs.msdn.com/b/brunoterkaly/archive/2011/10/05/supporting-billions-of-entities-rows-for-mobile-android-series-part-5-using-the-portal-and-setting-up-your-azure-account-microsoft-cloud.aspx
Blog Post - Deploying your app to the portal https://blogs.msdn.com/b/brunoterkaly/archive/2011/10/07/supporting-billions-of-entities-rows-for-mobile-android-series-part-7-migrating-your-azure-cloud-restful-service-to-be-hosted-in-a-microsoft-data-center.aspx

  Part 4
  Building the Android Mobile Application in Eclispse
Video - Building an Android Application https://brunoblogfiles.com/videos/BuildAndroidApplicationThatConsumesCloudHostedREST.wmv
Blog Post - Building the Android Client https://blogs.msdn.com/b/brunoterkaly/archive/2011/10/10/supporting-billions-of-entities-rows-for-mobile-android-series-part-8-writing-an-android-client-to-consume-restful-data-from-azure-microsoft-cloud.aspx

  Extra Credit
  If you would like material to go over an hour, here is a good place to start.
Blog Post - Fiddler and Storage Explorer - Going deep on tables https://blogs.msdn.com/b/brunoterkaly/archive/2011/10/05/supporting-billions-of-entities-rows-for-mobile-android-series-part-6-reading-and-writing-to-windows-azure-cloud-based-tables-using-standard-http-and-fiddler.aspx
Blog Post - Extra Credit - Windows Phone 7 https://blogs.msdn.com/b/brunoterkaly/archive/2011/10/26/supporting-billions-of-entities-rows-for-mobile-mobile-to-cloud-series-part-10-writing-a-windows-phone-7-client-to-consume-restful-data-from-azure-microsoft-cloud.aspx
Blog Post - Extra Credit - Building iOS Client connecting to Windows Azure https://blogs.msdn.com/b/brunoterkaly/archive/2011/11/08/video-building-a-restful-service-in-azure.aspx

  Appendix
  Here are some miscellaneous links that might help with your demo.
Source Code - Full Source Code: 8.5 mb download to Azure RESTful Service, Android Mobile Client, iOS/iPhone Mobile Client, and Windows Phone 7 Mobile Client https://brunoblogfiles.com/SourceCode/UploadedSourceCode.zip
Utility - It is the Clipboard Viewer for Android- Easy access to source code https://brunoblogfiles.com/clipboard/android.zip

  You will need an Azure Trial Account
  lahxjo2d