Interactive Graphics in Android

Slides:



Advertisements
Similar presentations
What Was I Thinking??. Key Terms 1. Control 1. Control 2. Design Mode 2. Design Mode 3. Event 3. Event 4. Form 4. Form 5. Interface 5. Interface 6. Properties.
Advertisements

Graphics with Canvas, SurfaceView, and multitouch processing (panning and multitouch zoom) GraphicsWithCanvas_2012.pptx.
ANDROID – GESTURES L. Grewe. What and why  a great way to interact with applications on mobile devices.  With a touch screen, users can easily tap,
Touch and Gestures with Xamarin Forms
Android 15: Gestures Kirk Scott.
Cannon Game 1 Fall 2014 CS7020: Game Design and Development.
Basic 2D Graphics in Android. Android Graphics Programming There are many ways to do graphics programming in Android – 2D vs. 3D – static vs. dynamic.
Cosc 5/4730 Input Keyboard, touch, and Accelerometer.
Object-Oriented Programming with Java The Java Event Model Lecture 5.
CS378 - Mobile Computing What's Next?. Fragments Added in Android 3.0, a release aimed at tablets A fragment is a portion of the UI in an Activity multiple.
Cosc 5/4730 Input Keyboard, touch, and Accelerometer.
1 Mobile Computing Advanced Touching Copyright 2014 by Janson Industries Assg Part1Assg Part1 AssgPart2AssgPart2.
Linear Layout, Screen Support, and Events. Linear Layout Supports 2 orientations: 1.Horizontal 2.Vertical I often get confused with how each orientation.
CS378 - Mobile Computing More UI - Part 2. Special Menus Two special application menus – options menu – context menu Options menu replaced by action bar.
Resources and RelativeLayouts. Resources Android Resources We’ve already talked about the different types of Android Resources DirectoryResource Type.
Mobile Programming Lecture 12 HierarchyViewer, Linkify, Gestures, and Version Control.
General features of GUI's Applicable to all methodologies and all platforms: Linux/UNIX Windows Android OS-X.
Android View Stuff. TextViews Display text Display images???
Fast and fluid graphics Wide range of network conditions New client devices & form factors Windows Metro style user interface Mobile devices, WAN.
Getting Touch Events to Play Nice in Flex Ryan Frishberg Software Consultant, Lab49
CS378 - Mobile Computing More UI - Part 2. Special Menus Two special application menus – options menu – context menu Options menu replaced by action bar.
Training. What is PagerDuty PagerDuty is an incident management platform that provides reliable incident alerting via , push, SMS, and phone. Supports.
로봇을 조종하자 1/5 UNIT 14 로봇 SW 콘텐츠 교육원 조용수. 학습 목표 터치 이벤트를 처리할 수 있다. 2.
Adding User Interactivity. Dynamic and database-driven pages Macromedia Flash Quick Time Virtual Reality (QTVR) Java Script –primarily for client-side.
Basic 2D Graphics in Android. Android Graphics Programming There are many ways to do graphics programming in Android – 2D vs. 3D – static vs. dynamic.
Chapter 7 Touch Gestures. Figure 07.01: Common touch gestures for Android devices.
JavaScript, Sixth Edition
| Mobile Accessibility Development Making an Accessible App Usable Scott McCormack.
CHAPTER 7 TouchGestures. Chapter objectives: To code the detection of and response to touch gestures. Patterns of common touches to create touch gestures.
User Interaction Radan Ganchev Astea Solutions. Content Basic input events Gestures Drag and drop Sensors.
IFTTT RECIPES WITH NETWORK CONSIDERATION PROJECT PRESENTATION CS 237 DISTRIBUTED SYSTEMS MIDDLEWARE.
The Doodlz app enables you to paint by dragging one or more fingers across the screen. The app provides options for setting the drawing color.
PRIMARY SESSIONS Developing Mobile Apps: Session 1.
CS371m - Mobile Computing Gestures. Common Gestures 2.
GST Helpline - A Complete GST App TO RESOLVE GST INDIA QUERIES
Events and Event Handling
Touch and Go: Leading Touch UI with Open Source
TUTORIAL ON MULTITOUCH AND SWIPE GESTURES
IC3 GS5 Certification Guide
AnDroid GoogleMaps API
Linear Layout, Screen Support, and Events
Introduction to Event-Driven Programming
Event-driven programming
3D Tetris Game on Android OS
Android Layouts 24 July 2018 S.RENUKADEVI/AP/SCD/ANDROID LAYOUTS 1.
How is a Mobile Website/App Developed
Objectives To define terminology associated with Windows operating systems. To examine uses of Windows in business and industry. To explain techniques.
Objectives To review concepts covered in the Windows Operating Systems units.
Lesson 1: Buttons and Events – 12/18
Mobile Computing With Android ACST 4550 Bitmaps, Fonts and Gestures
Android 19: Gestures Kirk Scott.
Mobile Computing With Android ACST 4550 Android Logs and Gestures
Android Mobile apps development services company in India
Program and Graphical User Interface Design
Model-View-Controller
Explain what touch develop is to your students:
Hexiwear Watch Alert System
Cannon Game App Android How to Program
CS371m - Mobile Computing Gestures.
Android Developer Fundamentals V2
Chapter 7: Touches and Swipes
動態版面 建國科技大學 資管系 饒瑞佶 2017/7.
Tonga Institute of Higher Education
05 | Desktop Applications
Mobile Programming Gestures in Android.
Mobile Programming Dr. Mohsin Ali Memon.
WJEC GCSE Computer Science
Game Programming Algorithms and Techniques
Skinput Technology by Gaurav Aswani.
CIS 470 Mobile App Development
Presentation transcript:

Interactive Graphics in Android CS7030: Mobile App Development

OnTouchEvent Event Description MotionEvent.ACTION_DOWN New touch started MotionEvent.ACTION_MOVE Finger is moving MotionEvent.ACTION_UP Finger went up MotionEvent.ACTION_CANCEL Current event has been canceled, something else took control of the touch event MotionEvent.ACTION_POINTER_DOWN Pointer down (multi-touch) MotionEvent.ACTION_POINTER_UP Pointer up (multi-touch) CS7030: Mobile App Development

GestureDetector Recognize user actions that represent a series of MotiveEvent, such as flings, double-taps, long presses and scrolls. GestureDetector.SimpleOnGestureListener is an adapter class that implements all the methods of GestureDetector.OnGestureListener and GestureDetector.OnDoubleTapListener interfaces. CS7030: Mobile App Development

SimpleOnGestureListener methods onDoubleTap(MotionEvent e) Notified when a double-tap occurs. onDown(MotionEvent e) Notified when a tap occurs with the down MotionEvent that triggered it. onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) Notified of a fling event when it occurs with the initial on down MotionEvent and the matching up MotionEvent. onLongPress(MotionEvent e) Notified when a long press occurs with the initial on down MotionEvent that trigged it. onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) Notified when a scroll occurs with the initial on down MotionEvent and the current move MotionEvent. CS7030: Mobile App Development