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 13. Location-aware apps

In this chapter, we’ll be looking at the fascinating subject of how your phone knows where it is, what you might want to do with that information, and how you would use this in an app.

Perhaps you already know that a global positioning system (GPS) has something to do with satellites and location. In fact, GPS is a system of 24 satellites that orbit at a speed of 3.9 km per second, sending out a signal of their position. You can “see” at least four of these satellites from anywhere on Earth. Your phone uses their signals alongside a lot of math to work out your precise location. In this chapter, we’ll explain ...

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