简体   繁体   中英

How can I convert my JavaScript web-application into android application?

因此,我开发了一个需要在 android 上运行的地图应用程序,我是否需要在 android 中再次编写代码,或者可以将 JavaScript 网络应用程序转换为 android-app 无论如何这样做?

1-) You can use Android WebView, and can present your website into your Android App (best choice)

https://developer.android.com/guide/webapps/webview

https://www.journaldev.com/9333/android-webview-example-tutorial

2-)You can make it without writing code, there are websites that directly changing websites to the android apk

https://gonative.io/

The thing you are looking for is called 'hybrid mobile app development'.

There are a number of frameworks you can use to convert web applications to native ones. I recommend to go for PhoneGap, as your only requirement is to use JavaScript (the majority of the frameworks are front-end framework bound)

You have to register an Adobe Account and upload zips of your application to build the Android APK when going the PhoneGap group

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM