Wrox Programmer Forums
|
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 2 Application Development 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
 
Old September 20th, 2010, 02:56 AM
Registered User
 
Join Date: Aug 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Where am I 1 and 2

When I run the project "Chapter 8 Where Am I 1 and 2 " (downloaded code from www.wrox.com) on Eclipse, it says "Your current position: " and "No Location found".
I have tried like this procedure several times.
1. Run Where am I 1
2. Open Emulator controls -> Location Controls -> Manual, the button "Send"
3. There is no response

And I telnet into the emulator console as follows:

telnet localhost <5554>

Then type the following command to set a default location:

geo fix -121.45356 46.51119 4392

Next time I run the WhereAmI , but results were same.

and I deleted the DDMS and the ADT, and have reinstalled them. But the results are same as before.

What's the problem?

Last edited by DaeSik Hwang; September 20th, 2010 at 04:07 AM..
 
Old December 18th, 2011, 11:10 AM
Registered User
 
Join Date: Aug 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, I have the same problem at the moment and not just on the emulator but also on a handset where GPS is also available.

So anyone know what's up?

Cheers

Update: got it working on the emulator...nothing wrong just needed to close it and open it - heyho.

Last edited by docuk; December 18th, 2011 at 11:55 AM..
 
Old March 29th, 2012, 10:16 AM
Registered User
 
Join Date: Mar 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Smile

Quote:
Originally Posted by docuk View Post
Hi, I have the same problem at the moment and not just on the emulator but also on a handset where GPS is also available.

So anyone know what's up?

Cheers

Update: got it working on the emulator...nothing wrong just needed to close it and open it - heyho.
Hi, I also faced similar problems. I just changed the ACCURACY_FINE to ACCURACY_COARSE. I also updated the permissions accordingly.
It worked for me.









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