Programming Mobile Services for Android Handheld Systems: Concurrency

开始时间: 04/22/2022 持续时间: Unknown

所在平台: CourseraArchive

课程类别: 信息,技术与设计

大学或机构: Vanderbilt University(范德堡大学)

授课老师: Douglas C. Schmidt

课程主页: https://www.coursera.org/course/posaconcurrency

课程评论:没有评论

第一个写评论        关注课程

课程详情

This MOOC describes by example how to apply patterns and frameworks to alleviate the complexity of developing concurrent software for mobile devices via the use of object-oriented design techniques. A pattern describes a reusable solution to a common problem that arises within a particular context. A framework is an integrated set of components that collaborate to provide a reusable architecture for a family of related apps or services.  Frameworks can also be viewed as concrete realizations of patterns that facilitate direct reuse of detailed design and source code.

This MOOC will cover Android's Handlers, Messages, and Runnables (HaMeR) framework and its AsyncTask framework, which simplify the development of Android applications that can run long-duration operations in background threads and then publish the results of these operations to the User Interface thread, which then performs short-duration user-facing operations.  Some coverage of Java threads will be included to provide background on concurrent programming. Hands-on programming projects will require students to apply these two concurrency frameworks to representative Android applications.

The Mobile Cloud Computing with Android (MoCCA) Specialization

This is the third course of the six-course Mobile Cloud Computing with Android (MoCCA) Specialization. It has been designed as part of a Coursera Specialization designed to help learners create complex, cloud-based Android Applications, and includes a final “capstone” project for those who earn Verified Certificates across all six courses.

Note: We are proud to announce that the MoCCA specialization has already reached hundreds of thousands of learners around the globe. In its last iteration, we worked with Google to provide Nexus tablets, feedback from the Google App team, and the potential to be featured in the Google Play store to top course completers.

This time around, we are providing more flexibility for all of you busy learners. We are running the Programming Mobile Applications courses in more digestible one-month-long sections, each with a meaningful mini-project at the end. Additionally, we will be re-offering the courses more frequently. For example, new sessions of my two introductory courses will be launched on a monthly basis, so that you can find a convenient time to join us or pick up where you left off if you didn’t quite finish before.

For previous MoCCA students: If you have already earned a Verified Certificate in the previous version of this course, "Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld Systems” offered in May 2014, you do not need to retake this course to continue towards the Specialization certificate and final project in 2015. Please consult the Specializations Help Center or contact the Coursera support team if you are not sure whether you qualify.

This MOOC and five others, taught by Dr. Adam Porter from the University of Maryland and Dr. Jules White from Vanderbilt University, have been designed to complement each other as part of the first trans-institution sequence of MOOCs taught on the Coursera platform, structured as follows:

  • The first two courses by Dr. Adam Porter, of the University of Maryland, are Programming Mobile Applications for Android Handheld Systems Part 1 and Part 2. They focus on the design and programming of user-facing applications.  

  • The third and fourth courses by Dr. Douglas Schmidt, of Vanderbilt University, are Programming Mobile Services for Android Handheld Systems: Concurrency and Communication. They focus on middleware systems programming topics, such as synchronous and asynchronous concurrency models, background service processing, structured data management, local inter-process communication and networking, and integration with cloud-based services.  

  • The fifth and sixth courses by Dr. Jules White, of Vanderbilt University, are Programming Cloud Services for Android Handheld Systems: Spring and Security.  They focus on how to connect Android mobile devices to cloud computing and data storage resources, essentially turning a device into an extension of powerful cloud-based services on popular cloud computing platforms, such as Google App Engine and Amazon EC2.

  • The final “capstone” project will require students to develop a complex mobile cloud computing application from the ground up.

Some of the programming assignments for these MOOCs will be coordinated.  

If you just want to take some of the MOOCs in this sequence or take them all in different order you’re certainly welcome to do so, and you’ll still learn a lot. However, if you take all the MOOCs in this sequence in the order presented you’ll gain a deeper, end-to-end understanding of handheld systems, their applications and services, as well as their integration into the cloud.

课程大纲

The course is organized into the following sections:

  • Section 0: Course Introduction
    • Part 1: Overview of Android Layers
    • Part 2: Course Structure and Topics
    • Part 3: Course Prerequisites and Learning Strategies
    • Part 4: Overview of Patterns and Frameworks
  • Section 1: Overview of Concurrency: Motivations, Challenges, and Fundamentals
    • Part 1: Concurrency Motivations
    • Part 2: Concurrency Challenges
    • Part 3: Overview of Java Threads (Part 1)
    • Part 4: Overview of Java Threads (Part 2)
  • Section 2:Android Concurrency Frameworks
    • Part 1: Overview of Android Concurrency Framework Classes
    • Part 2: Overview of Android Concurrency Framework Patterns
    • Part 3: Overview of the Threaded Downloads Application
    • Part 4: Android Looper
    • Part 5: Overview of Android Handler and HaMeR Framework
    • Part 6: Posting and Processing Runnables with the Android HaMeR Framework
    • Part 7: Sending and Handling Messages with the Android HaMeR Framework
    • Part 8: The AsyncTask Framework
    • Part 9: Blackbox and Whitebox Frameworks with AsyncTask
    • Part 10: Evaluating Android Concurrency Frameworks
  • Section 3: Communication Patterns in Android
    • Part 1: Ensuring Only One Looper Per Thread with the Thread-Specific Storage Pattern
    • Part 2: Passing Commands to Handlers with the Command Processor Pattern
    • Part 3: Passing Messages to Handlers with the Active Object Pattern
    • Part 4: Decoupling Synchronous and Synchronous Processing with the Half-Sync/Half-Async Pattern
  • Section 4: Case Study Applications
    • Part 1: The Concurrent Ping-Pong Application
    • Part 2: The PalantiriManager Application
    • Part 3: The ImageTaskGang Application

Throughout this MOOC we'll focus on pattern-oriented software architecture, with an emphasis on concurrent programming in the context of Android middleware systems programming mechanisms, such as synchronous and asynchronous concurrency models. We illustrate by example how key pattern and framework concepts and relationships are applied in Android from both an application and infrastructure perspective. Many code examples are shown throughout using Java, with case study projects used to reify the key points throughout all the material in this MOOC.

The PDF versions of all the slides used in the course will be available online as the videos become available on the course website.

课程评论(0条)

课程简介

In this course, we will learn how to apply patterns and frameworks to alleviate the complexity of developing concurrent applications on mobile devices running Android that connect to popular cloud computing platforms.

课程标签

0人关注该课程

主题相关的课程