Chapter 4. Fling, touch, and drag: user interaction with the touch screen

One of the great things about phone apps that is different from PC-based games is the use of touch-screen technology, which enables the user to interact in a direct way with your apps. In this chapter, we’ll show you how to put together a catchy app called Fling It! that uses touch screen-based Touched, Dragged, and Flung events. You’ll also build a mini app to demonstrate the use of the Dragged and Flung events.

As you get more experienced with App Inventor, you’ll see that different components (labels, buttons, image sprites, and so on) can do different things. This chapter is about some of the ways in which your user physically interacts with the components on your ...

Get Hello App Inventor! now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.