简体   繁体   English

我需要基于现有网站设置一个移动应用

[英]I need to set up a mobile app, based on an existing website

first off sorry for asking this question if it's something that has been covered already. 首先,很抱歉问这个问题,是否已经解决了。 What I'm looking to do is build a mobile app that will run on multiple platforms that is based on an existing website. 我要做的是构建一个可在基于现有网站的多个平台上运行的移动应用程序。 This will need to be a small app that is meant to keep people updated on upcoming events, and schedules and help make donations easier for a non profit sports team. 这将需要是一个小型应用程序,旨在使人们了解即将发生的事件和时间表,并帮助非营利运动队更轻松地进行捐赠。 I have no idea where to start... I've seen things that directed me to the jquerymobile site, phonegap, phonegap build, and I gotta be honest I'm a bit lost. 我不知道从哪里开始...我已经看到了一些将我定向到jquerymobile网站,phonegap,phonegap构建的东西,老实说我有点迷路了。

This is what I need from the app: - It won't carry every page from our site, just a few key pages... home page, calendar, schedule, donations, etc. - I want the info in the app to update if/when the website is updated. 这是我从应用程序中需要的:-它不会包含我们网站上的每一页,只有几个关键页面...主页,日历,日程表,捐赠等。-我希望更新应用程序中的信息如果/何时更新网站。

- Again, it will need to be used on multiple platforms (ios, WP8, android, blackberry) -同样,它将需要在多个平台上使用(ios,WP8,android,blackberry)

I know I basically need a site "wrapper", which is fine. 我知道我基本上需要一个站点“包装器”,这很好。 But I have no idea how to make one. 但是我不知道该怎么做。 Phonegap build is asking for "web assets", but I don't know how to get those. Phonegap构建要求“ Web资产”,但是我不知道如何获得这些资产。 Also, they say I will need an Mac OS system to create an ios app? 另外,他们说我需要Mac OS系统才能创建ios应用程序吗? That's not an option here. 这里不是一个选择。 Will I need to create a mobile (HTML5) site before I can create the app? 在创建应用程序之前,我需要创建一个移动(HTML5)网站吗? Any help will be GREATLY appreciated. 任何帮助将不胜感激。

Thanks 谢谢

I think you have 2 options that will help you with phonegap. 我认为您有2个选项可以帮助您解决Phonegap问题。

The first one, very easy, is just to use phonegap to make an application that open your website in the application. 第一个非常简单,就是使用phonegap制作一个可以在应用程序中打开您的网站的应用程序。 It's called in phonegap the inappbrowser. 它在“电话间隙”中称为“ inappbrowser”。 With this, you just have to modify the website and everything will work on every phone. 这样,您只需要修改网站,每部手机上的所有内容都可以使用。 But you will have to adjust a little bit your website for the mobile. 但是您将不得不为移动设备稍微调整一下网站。

The second one, is to create a similar website in html5, css and javascript in a www folder that will be the same for every platform. 第二个方法是在www文件夹中的html5,css和javascript中创建一个类似的网站,每个平台都相同。 But this will take more time. 但这将花费更多时间。

You will need a macos to deploy a ios app 您将需要macOS来部署ios应用

If you still have question, don't hesitate 如果您仍有疑问,请不要犹豫

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

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