Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply With Quote
  #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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.