eary
V2EX  ›  问与答

开发Android应用时需要调用Google地图,但是行货手机很多Root去掉了Google地图。这样会导致应用无法安装,这个问题如何处理呢?

  •  
  •   eary · Jul 7, 2011 · 6531 views
    This topic created in 5445 days ago, the information mentioned may be changed or developed.
    10 replies    1970-01-01 08:00:00 +08:00
    real_newbie
        1
    real_newbie  
       Jul 7, 2011
    自己去Market上安裝一個呀~
    eary
        2
    eary  
    OP
       Jul 8, 2011
    @real_newbie 在market上进行安装也没有写进root,应用是私有的,我的应用也没办法调用。
    cmonday
        3
    cmonday  
       Jul 8, 2011
    一般去掉Google地图的都会内置图吧地图之类的,你可以试试……
    aeryen
        4
    aeryen  
       Jul 8, 2011
    刷个新rom?
    eary
        5
    eary  
    OP
       Jul 8, 2011
    @aeryen @cmonday 我做开发的时候肯定手机是带Google 地图的 但是用户不一定带,我也不知道用户带的是什么地图,这个很让我纠结!
    cmonday
        6
    cmonday  
       Jul 8, 2011
    @eary 你是通过什么去调用的?
    eary
        7
    eary  
    OP
       Jul 8, 2011
    @cmonday 通过android系统的api去调用的。但是用户自主安装的Google地图就没有权限调用。
    eary
        8
    eary  
    OP
       Jul 8, 2011
    @cmonday 用户安装Google地图后主要是无法将Google地图嵌入到应用中
    cmonday
        9
    cmonday  
       Jul 8, 2011
    @eary
    你看看这个能不能解决你的问题
    http://blog.csdn.net/kesenhoo/article/details/6427513
    其实国内行货去掉Google地图之后都会内置个图吧地图什么的,他们的API支持调用图吧地图和使用内建引擎两种方式,虽然我没试过,可是看起来兼容性还不错,也许可以作为Google地图不可用时的备选
    http://open.mapbar.com/API_mobile.jsp
    eary
        10
    eary  
    OP
       Jul 8, 2011
    @cmonday 恩 只能使用其他地图代替。Google api应用是需要:A fully-compliant Android system image (with the Maps library and other custom system components built in)

    这个非常郁闷!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   951 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 19:33 · PVG 03:33 · LAX 12:33 · JFK 15:33
    ♥ Do have faith in what you're doing.