Embedded Operating System (Android) | CS

Brief Information


Assignment 1
  • Title: Display like the given layout
  • Duration: 2016-09-07~11 (4 days)
  • Key words: layout XML files, LinearLayout, RelavtiveLayout, TextView, EditText, Button
  • Demonstration video
  • Project files
Assignment 2
Assignment 3
  • Title: Implicit intent with WebView, TextView, and a hyperlink
  • Duration: 2016-10-12~26 (14 days)
  • Key words: Intent, implicit intent, WebView
  • Demonstration video
  • Project files
Assignment 4
  • Title: Display the air quality in Seoul depending on the input date and place
  • Duration: 2016-10-28~11-13 (16 days)
  • Key words: Intent, XML parsing, DOM parser, working thread
  • Demonstration video
  • Project files
Assignment 5

How to Study
  • Know how to use classes.
  • Know terms in Android.
  • Remember example implementations.


4 Components in Android

  1. Activities
  2. Broadcast receivers
  3. Content providers
  4. Services

Chapter 4. The Concept of Views and View Groups

Chapter 5. View Groups

Types of View Groups
  • LinearLayout
  • RelativeLayout
  • FrameLayout
  • TableLayout

Chapter 6. Views

Types of Views
  • TextView
  • EditText
  • Button
  • ImageView

Chapter 8. Events

Types of Events
  • TouchEvent
  • KeyEvent

Chapter 10. Execution of an Activity and Intent

Chapter 11. Activity Lifecycle

Chapter 13. Data Communication Using Intent

Chapter 14-1. Processes and Threads

Chapter 14-2. Looper, MessageQueue, and Handler

Chapter 14-3. AsyncTask, CountDownTimer, Timer, and HandlerThread



  • doInBackground() is executed by a working thread. The rest of methods are executed by the UI thread.
  • doInBackground() should always be implemented.
Steps to Implement AsyncTask
  1. Make an Activity.
  2. In the Activity, public

Chapter 15. BroadcastReceiver and BroadcastListener

  • Classes
    • BroadcastReceiver
      • onReceive(Context, Intent)
    • Activity
      • sendBroadcast(Intent)
      • registerReceiver(BroadcastReceiver, IntentFilter)
      • unregisterReceiver(BroadcastReceiver)
  • Concepts
    • broadcast & receive
    • static broadcast receivers & dynamic broadcast receivers
Broadcasting Activities

Static Broadcast Receivers
  • Register a broadcast receiver before the compile time.
  • AndroidManifest.xml>>application tag>> Add receiver tag
Dynamic Broadcast Receivers
  • Register a broadcast receiver in the running time.
  • Register a broadcast receiver.
  • Unregister the broadcast receiver.

    • The default state
    • If set, this intent will not match any components in packages that are currently stopped.
    • If set, this intent will always match any components in packages that are currently stopped.


Chapter 18. Services

  • There are two modes of services: started services and bound services.
  • Started services
    • start/end a service
    • Other components can start a started service.
    • Other components can end a started service.
  • Bound services
    • between the start and end of a service
    • If a service is on running, a bound service can return the requested result.
    • connection
  • Since Service is one of the 4 components, after a Service is made, the Service should be added in <application> tag in AndroidManifest.xml.

Chapter 16. Files and Databases


Chapter 17. Content Providers


Chapter 20. Advanced View Groups

  • 뷰마다 배치가 다양한 레이아웃을 스크롤하고 싶다면 스크롤뷰를 사용한다.
  • 스크롤 전에 보이지 않을 자식뷰까지 미리 그려두기 때문에 자식 뷰가 많을수록 메모리 사용량이 증가.
  • 동일한 구조의 레이아웃들이 수직으로 그룹을 구성한 리스트의 구조.
  • 현재 화면에 보이지 않는 자식 뷰를 미리 생성하지 않고 스크롤되어 보여야할 때 비로소 생성된다. 메모리 사용량 감소.

Chapter 9. Resources

Leave a Reply

Your email address will not be published. Required fields are marked *