O'Reilly logo

Hello App Inventor!: Android programming for kids and the rest of us by Paula Beer and Carl Simmons

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required