【问题标题】:Trying to get HTML HREF SMS link working in jasonette for android试图让 HTML HREF SMS 链接在 jasonette for android 中工作
【发布时间】:2018-09-08 17:47:18
【问题描述】:

我有一个在移动浏览器中运行良好的 SMS href 链接,但是当使用 jasonette 部署到 android 时,我得到 ERR_UNKOWN_URL_SCHEME。是否有一个简单的解决方法,甚至有可能吗?

<a href="sms://+15558675309">Text</a>

这是我的 json 文件-

{
"$jason": {
    "head": {
        "title": "Web Container Agent"

    },
    "body": {
        "background": {
            "type": "html",
            "url": "www.mysite.com/test.php",
            "id": "app",
            "action": {
               "type": "$default"
            }
        }
    }
}
}

【问题讨论】:

    标签: android sms href jasonette


    【解决方案1】:

    我对此很陌生,但我也遇到了同样的问题,通过设置正确的视图来解决。

    “视图”:“应用程序”

    类似这样的工作

    { "type": "label", 
            "text": "text message", 
            "href": {
              "url": "sms://+87687687688678",
             "view": "app"
    }
    

    【讨论】:

    • 在action下的json文件中视图在哪里设置?我更新了问题以显示我的 json 文件
    猜你喜欢
    • 1970-01-01
    • 2023-03-10
    • 1970-01-01
    • 2015-10-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-12
    • 1970-01-01
    相关资源
    最近更新 更多