简体   繁体   English

使用本机导航编写基于Web的移动应用程序可行吗?

[英]Is it viable to write a web-based mobile app with native navigation?

I'm writing a mobile application for android and iOS. 我正在为android和iOS编写一个移动应用程序。 I'm quite experienced with Javascript, HTML, and CSS; 我对Javascript,HTML和CSS很有经验; thus I would like to write the majority of the app with these languages. 因此,我想用这些语言编写大部分应用程序。 However, the fundamental navigation between the different "areas" of the app would be done with native navigation—this would be Java on Android and Swift on iOS. 但是,应用程序不同“区域”之间的基本导航将通过本机导航完成-这将是Android上的Java和iOS上的Swift。 Is this a viable approach? 这是可行的方法吗? Do the app store and marketplace typically accept apps of the kind? 应用商店和市场通常是否接受此类应用? What are the pros and cons of this approach? 这种方法的优缺点是什么?

Thank you 谢谢

You can make a website looking like an android app, then using the view WebView. 您可以使网站看起来像android应用,然后使用视图WebView。 Webviews display the site as it is in the application. Webviews在应用程序中显示站点。 For informations about WebView, go to developer.android.com/reference/android/webkit/WebView.html 有关WebView的信息,请访问developer.android.com/reference/android/webkit/WebView.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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