【问题标题】:How can I convert python web application into android .apk如何将 python web 应用程序转换为 android .apk
【发布时间】:2019-02-18 13:44:38
【问题描述】:

我已经使用 Python 后端 Web 应用程序创建了 html5,我正在努力将 Web 应用程序转换为 android Web 应用程序。谁能帮我用python应用程序转换为apk文件的简单方法。

请让我知道更多详情。

【问题讨论】:

    标签: android python-3.x html web-applications hybrid-mobile-app


    【解决方案1】:

    Android SDK 不使用 Python,仅使用 Java、Kotlin 和 C++。最好的解决方案是使用 WebView 布局并实现类似于网站的 android UI。如果您仍然想使用 python,我只需访问this link

    【讨论】:

      【解决方案2】:

      您可以使用 Apache Cordova 作为示例来转换您的应用程序的前端部分。

      对于离线工作和缓存,您可以尝试使用 Service Worker。 还有基于 vue.js 的 Quasar 框架,它为您提供将应用程序转换为 android 或 ios 应用程序或电子等的能力。

      【讨论】:

        猜你喜欢
        • 2013-02-07
        • 2020-04-10
        • 2019-07-26
        • 2019-03-06
        • 2017-04-29
        • 1970-01-01
        • 2019-09-04
        • 2013-06-19
        • 2014-10-30
        相关资源
        最近更新 更多