O'Reilly logo

Kicking Butt with MIDP and MSA: Creating Great Mobile Applications by Jonathan Knudsen

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

27. Know Where You Are

AS mobile phones continue to get smaller and cheaper, manufacturers are able to cram more into them. One interesting capability that is making its way into mobile phones is Global Positioning System (GPS). A GPS receiver provides the mobile phone a way to know its own location. This means that your MIDlets can now combine the awesome power of the Internet with the awesome power of GPS. From a programming perspective, it’s easy to write applications to find the nearest Starbucks or display your current location on a map at a social networking Web site.

GPS isn’t the only way to determine location, but it’s probably the most popular. Mobile phones can also use the location of the nearest cell tower to determine location, ...

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