V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Kenyth
V2EX  ›  Android

Android 下的 webapp 想要开机系统设置中的 GPS 功能,是否能够 pop up 对话框把用户直接引导到 GPS 相关的设置界面,像很多本地 app 做的那样?

  •  
  •   Kenyth · Apr 16, 2011 · 16694 views
    This topic created in 5492 days ago, the information mentioned may be changed or developed.
    8 replies    1970-01-01 08:00:00 +08:00
    shellex
        1
    shellex  
       Apr 16, 2011
    WebApp? 哪个框架?不大清楚呢
    Kenyth
        2
    Kenyth  
    OP
       Apr 16, 2011
    跟哪个框架没有关系啊。

    就是跑在自带的支持 HTML5 的浏览器中的一般 web 应用。
    sospartan
        3
    sospartan  
       Apr 16, 2011
    app可以 webapp这么做倒是没听说过
    shellex
        4
    shellex  
       Apr 16, 2011
    @Kenyth o .. 我以为妳指是PhoneGap这种东西..
    fengqve
        5
    fengqve  
       Apr 16, 2011
    只要有Native的部分应该就可以做到。
    Kenyth
        6
    Kenyth  
    OP
       Apr 17, 2011
    恩。所以,总结答案就是纯 webapp 是做不到的。
    peizh2006
        7
    peizh2006  
       Apr 22, 2011
    用phonegap之类的包装成一个应用得了
    findheart
        8
    findheart  
       Apr 26, 2011
    用webview做的话,可以通过addJavascriptInterface把本地Java函数作为JavaScript对象传给HTML。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5101 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 192ms · UTC 05:46 · PVG 13:46 · LAX 22:46 · JFK 01:46
    ♥ Do have faith in what you're doing.