Lessons 8-10 Flashcards
What is an accelerometer?
A device that measures acceleration, which is a change in speed or direction over time. Sensor detects forces applied to the device e.g. movement, gravity.
What is a Blob object?
Provides access to raw binary data.
Define a resistive touch screen.
A resistive touch screen is made up of several layers, the topmost of which flexes when
pressed and pushes into the layer underneath. Sensors detect the pressure, which is how
the system knows which part of the screen has been pressed. The touch screens used in
hospitals and restaurants are often resistive.
What is civic data?
Location data that’s more easily understood by humans e.g. map or address.
What does it mean if something is device-independent?
A program or interface that runs software that produces similar results on a wide variety of hardware.
Define a file API.
Used to upload files from a local disk or device’s local storage to a remote server. You can display uploaded files in a Web app. No need for a plug in.
What is geodetic data?
Raw location data e.g. latitude and longitude or meters.
Define a geolocation API.
Get’s a user’s geographical coordinates (lat and long). Can show a marker on a map.
What is local storage?
Persistent data saved to the browser in persistent memory in order to be reopened later on. No expiration date.
What does it mean if something is platform-independent?
Means you can use HTML5 to create pages and apps that will run on various different browsers, devices or systems.
What does the touchcancel event do?
Triggered when the device launches another app.
Define a touch object?
Detects input from touch-enabled devices. Read only objects.
What is session storage?
Temporary data kept for only one session until the browser is closed. Erased at the end of a session.
What does the Web Hypertext Application Technology
Working Group do?
Created by Mozilla and Opera. Maintains a living HTML specification that includes APIs that were not originally part of the HTML5 spec. e.g. Geolocation, Webworkers, Websockets, File API.
Define a webworker API?
Web workers are scripts that run in the background, performing calculations or other actions that allow for a more responsive UI.