timers user inputs keypad push buttons outputs update

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: nted your own View class and want to listen for specific events that occur within it COMP 4521 (Muppala) Android UI Overview 3 Event-Driven Programming Programming Embedded Systems •  Characteristics –  –  –  –  often asynchronous “simultaneous” inputs & outputs sequences unknowable, re-orderable no “end” or “exit” •  Inputs: –  sensors (switches, light sensors, voltages, etc.) –  timers –  user inputs (keypad, push-buttons) •  Outputs: –  –  –  –  update a display move something switch something on or off in general •  CHANGE SOMETHING PHYSICAL COMP 4521 (Muppala) Android UI Overview 5 Tradi7onal Program Structure •  OPen characterized by: –  Input from keyboard or data file •  Begins, performs opera7ons, then ends (linear program) •  Decisions made don’t change fundamental program structure •  Output to monitor or data file COMP 4521 (Muppala) Android UI Overview 6 Sequen7al Programming •  In sequen7al programs, the program is under control •  The user is required to sync...
View Full Document

This document was uploaded on 03/12/2014.

Ask a homework question - tutors are online