Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2
This is the forum to discuss the Wrox book Professional Android Application Development by Reto Meier; ISBN: 9780470344712
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 1st, 2009, 02:08 AM
Registered User
 
Join Date: Apr 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default about chapter 7 requestLocationUpdates method

Hello:
I'm studying the book: Professional Android Application Development
In the Chapter 7, Tracking movement:
"The requestLocationUpdates method accepts either a specific Location Provider name or a setof Criteria to determine the provider to use."

Does it mean the requestLocationUpdates method may have a parameter about Criteria?

But I search the Android API,
http://developer.android.com/referen...onManager.html
The requestLocationUpdates() doesn't have the parameter about Criteria.

Do I misunderstandand it's meaning?
I am very confused.. thanks a ton for any help
  #2 (permalink)  
Old May 1st, 2009, 10:52 AM
Authorized User
 
Join Date: Mar 2009
Posts: 21
Thanks: 0
Thanked 3 Times in 3 Posts
Default

That seems like a typo to me. I do not see any function definitions which include a Criteria parameter for requestLocationUpdates().

Of course, you realize that you can select the Location Provider using Criteria with:

locationManager.getBestProvider(criteria, true);

So other than questioning what the author meant by this statement, there's no reason you cannot get the location updates with your desired LP.

Jeff Sierawski


Similar Threads
Thread Thread Starter Forum Replies Last Post
More Chapter 3 Method questions. wbrco BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 3 February 17th, 2009 12:14 AM
About Method VeradisSanthanam ASP.NET 2.0 Basics 1 June 19th, 2007 06:52 AM
Why is this method placed in filip BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 August 25th, 2006 09:40 PM
Chapter 12 Web Method syntax VictorVictor BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 February 23rd, 2006 01:46 PM
Method StanArtis BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 December 6th, 2004 06:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.