Discussion Forums  >  Uncategorized

Replies: 9    Views: 345

dreamsocal
Android Fan
Profile
Posts: 4
Reg: Feb 08, 2011
location unknow...
40
02/10/11 10:35 AM (15 years ago)

Map Problems

Hello Im new to this but maybe someone can help me. I am having trouble with the app not showing current location on the map and also not being able to give driving directions. I get the error We can't find you? Driving directions cannot be determined because your device is not reporting it's location.
 
Tom Shortridge
Aspiring developer
Profile
Posts: 78
Reg: Nov 22, 2010
Virginia
1,480
like
02/10/11 10:36 AM (15 years ago)
Android or iOS? Simulator or device?
 
dreamsocal
Android Fan
Profile
Posts: 4
Reg: Feb 08, 2011
location unknow...
40
like
02/10/11 10:37 AM (15 years ago)
Android and I am testing it on the device and also same error on Simulator.
 
Tom Shortridge
Aspiring developer
Profile
Posts: 78
Reg: Nov 22, 2010
Virginia
1,480
like
02/10/11 10:40 AM (15 years ago)
Do you have the Google Maps External Library installed? How about your Debug and Release keys?
 
Tom Shortridge
Aspiring developer
Profile
Posts: 78
Reg: Nov 22, 2010
Virginia
1,480
like
02/10/11 10:42 AM (15 years ago)
And do you have the GPS on the phone turned on?
 
dreamsocal
Android Fan
Profile
Posts: 4
Reg: Feb 08, 2011
location unknow...
40
like
02/10/11 10:46 AM (15 years ago)
It is currently running thr Debug key and the GPS is turned on the phone and I believe Google Maps External Library is installed
 
dreamsocal
Android Fan
Profile
Posts: 4
Reg: Feb 08, 2011
location unknow...
40
like
02/10/11 10:50 AM (15 years ago)
It is running Googles API 1.6
 
Gasguzziler
Aspiring developer
Profile
Posts: 53
Reg: Nov 24, 2010
Seattle
530
like
02/13/11 01:13 AM (15 years ago)
Ok I had a lot of problems getting maps to work at first but after some trial and error I was able to figure them out. You need to make sure that your api key for google is correct. I am not sure if you got the MD5 certificate and used that to get your api key or how far along you are with this. Also I know when you go to release your app to the store there is an extra line that you have to modify it is under res/layout/screen_locationmap.xml you need to change the one line from @string/googleMapsAPIKeyDebug to @string/googleMapsAPIKeyRelease otherwise once you are running off of your new keystore and in the market the maps will not work. You can email me if you have any questions or if I just confused you. It is still confusing to me but fortunately I wrote most of this down and have a friend that develops android that walked me through it. My email is my user name @gmail.com
 
appsolutely
Aspiring developer
Profile
Posts: 72
Reg: Jan 05, 2011
UK
10,070
like
02/21/11 04:36 PM (15 years ago)
Thanks Gasguzziler your post just helped me crack it too. Cheers Long Live Buzztouch
 
Gasguzziler
Aspiring developer
Profile
Posts: 53
Reg: Nov 24, 2010
Seattle
530
like
02/21/11 04:41 PM (15 years ago)
Glad I was of some help. This site has been so helpful to me I just wanted to give a little of it back/
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.