Using Google Maps API v2 on devices without Google Play

落爺英雄遲暮 提交于 2020-01-05 06:42:23

问题


Google Maps API V2 for Android is a big leap forward compared to v1: better rendering, fragment support... But there is one grey area I am trying to clarify about its use.

I look forward to create a map-based application for an Android device that does not have Google Play on it i.e. did not pass Google validation such as a low-end tablet or a car radio, and distrbute it on third-party markets. Such applications using V1 API are possible.

The V2 has a dependency on Google Play Services, which is available to devices with Google Play only. Does it mean that the V2 API is definitely unavailable for the aforementioned devices?


回答1:


I look forward to create a map-based application for an Android device that does not have Google Play on it i.e. did not pass Google validation such as a low-end tablet or a car radio, and distrbute it on third-party markets. Such applications using V1 API are possible.

Only because the makers of those devices pirated the Maps code, as both Maps V1 and Maps V2 are only available for manufacturers who pass validation and license that code.

Does it mean that the V2 API is definitely unavailable for the aforementioned devices?

Barring similar piracy, yes.




回答2:


You can try manually install the bin files that are required for Google maps, same way as you would do if you wanted to get the emulator running a Google Map API V2.

you can get more information on how it's done from the following blog post I wrote:

link

I don't know if this solution will be applicable for those devices but you can try it.



来源:https://stackoverflow.com/questions/15473927/using-google-maps-api-v2-on-devices-without-google-play

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!