Discussion Forums  >  Maps, Device Location, Tracking

Replies: 13    Views: 198

Militant
Aspiring developer
Profile
Posts: 55
Reg: Apr 22, 2013
Coimbatore
1,300
09/27/13 10:51 AM (10 years ago)

Android v3 Maps issue

Now i had configured my app with latest v3 source code. For V3 maps i have followed below URl, https://dl.dropboxusercontent.com/u/115208762/OSMBT/GPSRefBT.pdf Every thing works in my device and simulator, but A blank google map screen opens without any data. Kindly help me. Thanks in Advance
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 11:38 AM (10 years ago)
Howdy, Got your PM. If all you did is follow the instructions above, the piece you are missing, for maps, is the Google Maps for Android v2 API key. You can find information on how to obtain that here: https://developers.google.com/maps/documentation/android/start#obtaining_an_api_key Once you get the key, put it in the appropriate place in your AndroidManifest.xml file. Keep in mind that the keystore you use to get your API key must be the same one you sign your app with, or you won't see any map tiles. Mark
 
Militant
Aspiring developer
Profile
Posts: 55
Reg: Apr 22, 2013
Coimbatore
1,300
like
09/27/13 11:49 AM (10 years ago)
Thank you for your update, I have followed below youtube URl to obtaining an api key, https://www.youtube.com/watch?v=69ZwR4o7oGQ. And also i enable "Google Maps Android API v2" service I have a little query regarding api key, We need to create api key for Every app?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 11:53 AM (10 years ago)
Unfortunately that video is for the v1 API key, and you need the v2 key. They're different! Follow the link above, and it'll get you on the right path. If you use the same keystore to sign all your apps, you can use the same api key, as long as you indicate the apps it's being used for in your developer console.
 
Militant
Aspiring developer
Profile
Posts: 55
Reg: Apr 22, 2013
Coimbatore
1,300
like
09/27/13 11:58 AM (10 years ago)
Thank you very much, i shared wrong youtube URL, I am following URL is below, https://www.youtube.com/watch?v=N2jLGVYVtaM Kindly bear this.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 12:03 PM (10 years ago)
That'll probably work!
 
Militant
Aspiring developer
Profile
Posts: 55
Reg: Apr 22, 2013
Coimbatore
1,300
like
09/27/13 12:06 PM (10 years ago)
But i get a blank google map screen opens without any data.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 12:22 PM (10 years ago)
If you're seeing map tiles, that's a good thing! In your Buzztouch control panel, do you have any map points defined?
 
Militant
Aspiring developer
Profile
Posts: 55
Reg: Apr 22, 2013
Coimbatore
1,300
like
09/27/13 12:40 PM (10 years ago)
Kindly see the screenshot, http://postimg.org/image/i3lap39m5/. No map screen shows like above screenshot.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 12:47 PM (10 years ago)
Same issue I'm having: http://www.buzztouch.com/forum/thread.php?fid=ED737BE5CE63008337595DB&tid=ED737BE5CE63008337595DB If you have a device, the maps will work there. I tested it on my tablet. There's clearly an emulator issue. I wouldn't let it hold you up too much, since maps are proven to work on a device.
 
Militant
Aspiring developer
Profile
Posts: 55
Reg: Apr 22, 2013
Coimbatore
1,300
like
09/27/13 12:56 PM (10 years ago)
Thanks GoNorthWest, I have already read your forum and I am aware about that issue. I have faced this issue on "Micromax A110 Canvas 2" device
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 01:03 PM (10 years ago)
On an actual device? Can you hook the device up to Eclipse and see what's being reported in LogCat?
 
Militant
Aspiring developer
Profile
Posts: 55
Reg: Apr 22, 2013
Coimbatore
1,300
like
09/27/13 01:26 PM (10 years ago)
Yes., Its a actual device.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 02:37 PM (10 years ago)
Hook the device up to Eclipse and run the app. The debug info will go to LogCat, and you can see what it complains about when it tries to load the map screen. That's the data we need to move forward with.
 

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.