Discussion Forums  >  Maps, Device Location, Tracking

Replies: 9    Views: 253

GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
09/26/13 10:38 PM (10 years ago)

Android v3 Maps and Emulator Discovery

I've been working with a few people lately on getting maps to work on an emulator with the new Android v3 code, and despite my best efforts, wasn't able to. I couldn't quite figure out what the issue was. Now, it's possible that I'm the last person to learn this, but in order to get maps working on the emulator, you'll need to have the Google Play Store services (app) installed. I got a LogCat error message in the emulator, when it wasn't working, saying that those services couldn't be found. I took the same app, ran it on my device (which as the services), and blamo, the maps appeared! The conclusion I drew seems obvious. So, while I have no idea what the relationship is between maps and that service, it appears maps won't work on the emulator without them. If anybody has different experiences, please let me know. Mark
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/26/13 11:53 PM (10 years ago)
So, I get that the Google Play Services are required for compiling the app and using maps...but I guess that means the only way to get the Google Play Services on the emulator is to install the Google Play app?
 
yuri737
Aspiring developer
Profile
Posts: 25
Reg: Apr 12, 2013
Kirov, Kirovska...
4,100
like
09/27/13 12:00 AM (10 years ago)
Hello everyone! Very interesting topic to discuss! I tried to adjust Android v3 Maps and just an emulator. I got an error message in the LogCat emulator. Installed according to the instructions https://www.buzztouch.com/forum/thread.php?tid=F87D29BA17032DE4EF7DBDE https://dl.dropboxusercontent.com/u/115208762/OSMBT/GPSRefBT.pdf What mistake did not understand.
 
yuri737
Aspiring developer
Profile
Posts: 25
Reg: Apr 12, 2013
Kirov, Kirovska...
4,100
like
09/27/13 12:08 AM (10 years ago)
Many people face this problem - maybe someone will post detailed instructions for installing Android v3 Maps and emulator?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 12:16 AM (10 years ago)
The basic instructions for enabling Android maps in v3 are still exactly what needs to be done. The other part is installing the Google Play Store app in the emulator. I'm working on something for that. If you can find an apk somewhere for it, that would solve the problem.
 
yuri737
Aspiring developer
Profile
Posts: 25
Reg: Apr 12, 2013
Kirov, Kirovska...
4,100
like
09/27/13 08:22 AM (10 years ago)
yes agree, maybe I misunderstood ...
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
09/27/13 10:05 AM (10 years ago)
@Mark- Interesting topic and find. I agree on your finding that you might need the playstore apk installed in your emulator to make the maps run on it. Well i have not tried to check the new map on emulator but i did it on my tab and it works flawlessly. In case you want apk of google playstore app you can check the following link- http://www.androidpolice.com/2013/08/13/download-latest-google-play-store-4-3-11-teardown/ Do inform how it goes.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 11:34 AM (10 years ago)
Update : Installing the Google Play Store app on the my Android 3.1 emulator apparently does not provide the required Google Play Services. I'm now working on testing the app on a Google SDK-based emulator, which should have the play services already included, to see what affect that has. Mark
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 11:48 AM (10 years ago)
Update : Tried a Google SDK-based emulator, but got this: "09-27 18:41:55.372: W/GooglePlayServicesUtil(1920): Google Play services out of date. Requires 3225100 but found 3136130." Going to set up the absolute most current and see what happens. Mark
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/13 12:31 PM (10 years ago)
Update : Tried the absolute latest Google API (API 18), and got partial success! The map screen loaded with the map controllers, but there are no map tiles, and my pin isn't visible. LogCat shows this: 09-27 19:27:35.252: E/Google Maps Android API(1687): Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above 09-27 19:27:36.391: W/ZZ(1687): BT_screen_map:onCreateView using data from app's configuration file 09-27 19:27:36.401: W/ZZ(1687): BT_screen_map:parseScreenData 09-27 19:27:36.532: W/ZZ(1687): BT_screen_map:showMapPins 09-27 19:27:36.532: W/ZZ(1687): BT_screen_map:showMapType "standard" 09-27 19:27:36.605: E/GooglePlayServicesUtil(1687): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. So, still missing something. Will continue to investigate. Mark
 

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.