API for Mobile Devices.

Slides:



Advertisements
Similar presentations
Physics for Scientists and Engineers, 6e
Advertisements

All movements of rigid shells or plates on earth’s surface are characterized by rotations, of which there are two types: 1. Infinitesimal rotations, most.
How to Use This Presentation
UNIT V: EARTH’S COORDINATE SYSTEMS
CHAPTER ONE FINDING YOUR WAY.
Magnetism July 2, Magnets and Magnetic Fields  Magnets cause space to be modified in their vicinity, forming a “ magnetic field ”.  The magnetic.
Qwizdom questions for Feb. 1, If the north poles of two bar magnets are brought close to each other, the magnets will A. attract B. repel.
Intro to Map and Compass
Cutnell/Johnson Physics 8th edition
Latitude and Longitude
Understanding Latitude & Longitude.
Coordinate Systems.
Terrestrial Coordinate System
Celestial Sphere. Earthly Sphere Latitude measures the number of degrees north or south of the equator. –DeKalb at 41° 55’ N Longitude measures degrees.
A of current flow east along a wire in a magnetic field of T that is 17.0 o east of North. What force acts on the wire if it is 113 m long?
Chapter 19 Table of Contents Section 1 Magnets and Magnetic Fields
Sci. 1-1 Pages A. Map – a model or representation of the Earth’s surface.
Movements of the Earth The Earth’s Motion in Space.
EE 495 Modern Navigation Systems Navigation Mathematics Friday, January 9 EE 495 Modern Navigation Systems Slide 1 of 14.
A bar magnet is spinning clockwise as viewed from a position south of the magnet, about a horizontal, north-south axis that is perpendicular to, and passes.
What causes the Seasons?. The Earth’s orbit Seasons do NOT arise from the distance the Earth is from the Sun but rather as a result of the Earth’s annual.
Navigation NAU 102 Lesson 2. The Earth News Flash! It isn’t flat. But, it isn’t a perfect sphere either.
1) 2) 3) 4) A mass oscillates displaying the Simple Harmonic Motion plotted in the position vs time graph at right. Which of the velocity vs time graphs.
Where in the world are we? … A system for describing location on the earth What is the shape of the earth … and how earth’s shape affects the process of.
Halliday/Resnick/Walker Fundamentals of Physics
Earth and Space Science
9.2 Latitude and longitude
EARTH, SUN AND MOON Earth, Sun and Moon. FOCAULT PENDULUM – CONFIRMS THE EARTH’S ROTATION The pendulum hangs from a tall ceiling and the weight at the.
Navigation Using map & compass. Cardinal Directions There are four cardinal points on a compass: There are four cardinal points on a compass: North, South,
Chapter 20 Magnetism Conceptual Quiz 20 Conceptual Quiz Questions.
Magnetic Bearing A magnetic bearing is a bearing where the Magnetic North line is taken as 0  A compass points towards the magnetic north pole which is.
Cutnell/Johnson Physics 8th edition
Chapter 2 Motion in ONE dimension. Displacement This chapter we are only doing to study motion in one direction. This chapter we are only doing to study.
Topic: Maps PSSA: A/S8.D.1.1. Objective: TLW use cardinal directions and latitude and longitude to locate places on a map.
Chapter 19: Magnetic Forces and Fields
Unnderstanding Longitude & Latitude.
Inertial & Non-Inertial Frames
EE 495 Modern Navigation Systems
Force and motion 5.P.5A.1 Use mathematical and computational thinking to describe and predict the motion of an object (including position, direction,
Understanding Longitude & Latitude.
AIM: The Earth Sun System
Wind and Currents Heat from the sun makes wind. Wind causes currents and waves. Winds are named based on where they start.
Magnetism =due to moving electrical charges.
Chapter 5 Section 1 Motion.
Happy Wednesday! Today we will be learning about Forces!
Angles. Angles Angles Angles The distance from rotary table to Point B as measured along the wellbore is called a measured depth. The vertical distance.
Chapter 19 Magnetism Section 3 Magnetic Force.
Earth and its coordinates
Magnets and Magnetic Fields
Revolution and rotation
Elements of a Map.
Magnetic Fields Exert Forces on Moving Charges
Attitudes of Planes and Lines
Celestial Motions of Planets & Stars
Understanding Longitude & Latitude.
Chapter 3 Vectors Questions 3-1 Vectors and Scalars
The slope of a velocity-time graph is ______________________.
Human Understanding of both Earth and Space has Changed Over Time
Global air circulation is influenced by the Coriolis Effect
Where is it In the night sky.
Science Planner 10/10/16 WALT: What can shadows teach us.
Conceptual MC Questions
Linear Motion To study motion, we need to break it down.
Where is it In the night sky.
Magnets and Magnetic Fields
Chapter 14 Section 1 What are the motions of Earth?
Vector Operations Unit 2.3.
Position and speed as a function of time
Presentation transcript:

API for Mobile Devices

Outline Device orientation events Device motion events [Screen orientation] Touch event interface

Coordinate Frames (url) Earth Coordinate Frame (XYZ) The X axis follows along the ground plane, perpendicular to the Y axis and positive toward the east (and therefore negative toward the west). The Y axis follows along the ground plane, and is positive toward true north (that is, the North Pole, not magnetic north) and negative toward true south. The Z axis is perpendicular to the ground plane; think of it as a line drawn between the device and the center of the Earth. The value of the Z coordinate is positive upward (away from the center of the Earth) and negative downward (toward the center of the Earth). The device coordinate frame (xyz) is the coordination frame fixed on the center of the device.  The x axis is in the plane of the screen and is positive toward the right and negative toward the left. The y axis is in the plane of the screen and is positive toward the top and negative toward the bottom. The z axis is perpendicular to the screen or keyboard, and is positive extending outward from the screen.

Rotation Rotation is described about any given axis in terms of the number of degrees of difference between the device's coordinate frame and the Earth coordinate frame, and is measured in degrees. [0,360) [-180,180) [-90,90)

Detecting Device Events (url)

Tilt Table Prototype

Application: 360 video/photo (as in Facebook 360)

Touch Event (url) TouchEvent.touches: An array, representing all current points of contact with the surface Event types: touchstart touched touchmove

Touch Object (url)

XZ Tracer (single touch point)

Demo (url)

Touch Piano (multiple touch point) MouseDown (NoteOn), MouseUp (NoteOff)