phonegap只能在嵌入式浏览器中显示我的移动网站吗? [英] Can phonegap just display my mobile website in an embedded browser?

查看:143
本文介绍了phonegap只能在嵌入式浏览器中显示我的移动网站吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个建立在django的网站,其响应从320像素到960像素。

I have a website built in django, its responsive so works from 320px to 960px.

我注意到,当我告诉人们,他们做的第一件事是去到他们的本地应用商店,并搜索网站,当失败,他们然后去好的老谷歌...

I've noticed when i tell people the first thing they do is go to their native app-stores and search for the "site" when that fails they then go for good old google...

所以我想构建本机版本的网站,但没有额外的功能..他们就像方便的书签,它存在于应用商店和用户的移动桌面上,而不是WWW。

So i want to build native versions of the site but there will be no extra functionality.. they are just like convenient "bookmarks" which exist inside app-stores and on the mobile desktops of users instead of the WWW.

鉴于我不想要任何额外的本地功能,我可以只使用phonegap并将我的整个网站嵌入浏览器窗口?

Given i don't want any extra native functionality can I just use phonegap and embed my whole site in a browser window?

我宁愿这样做,而不是开始从头开始,将网站转换为API,并将模板/资源构建到phonegap。

I'd much rather do that than start from scratch, convert the site to an API and built templates/assets into phonegap.

干杯,

Asim 。

推荐答案

这取决于:
Apple不会让你上传一个应用程序,一个远程服务器。

This depends: Apple won't let you upload an app where the UI has to be loaded from a remote server.

对于应用商店,您需要在客户端上有一些表示逻辑。

So for the app store you need to have some presentation logic on the client.

一般:
如果你不使用本地html文件,你将无法使用phonegap功能(如相机),但如果你的服务器白名单,你的应用程序应该运行良好。但这个应用程序不会是一个一流的公民,因为你总是有在线,你会感到缓慢的连接,你的应用程序的响应速度。

In general: If you don't use a local html file you won't be able to use phonegap functionality (like the camera), but your "app" should run fine if you whitelist your server. But this app won`t be a first class citizen because you always have to online and you will feel a slow connection in the responsiveness of your "app".

这篇关于phonegap只能在嵌入式浏览器中显示我的移动网站吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆