使用 Flash 创建适用于带有嵌入式浏览器的 iPhone 和 Android 的移动应用程序

发布于 2024-11-17 07:28:54 字数 518 浏览 2 评论 0原文

编辑: 查看我的回答

我看到了一些有趣的框架,可以使用 HTML 和 Javascript 为 Android 和 iPhone 等移动平台构建应用程序,这样您就可以使用当前的 Web 开发技能,而无需学习新的平台语言。这非常有趣,因为您可以为许多平台编写一个应用程序。非常容易维护。

但是,您不能在应用程序商店中出售它,所以我想知道是否可以在加载外部/包含的 html 文件的应用程序中使用嵌入式网络浏览器。

我已经看到可以使用 flash 创建 Android 和 iPhone 应用程序,这很容易,所以我想创建一个简单的“主机”应用程序,仅加载内容,并且我可以一遍又一遍地使用它来分发新应用程序。

所以问题是,是否可以使用 flash 创建一个简单的应用程序,嵌入 web 浏览器来加载 html 文件?

如果可能的话,下一个问题是,是否可以与嵌入式网络浏览器进行通信?还有一个问题是,苹果会允许这样的应用程序出现在它的应用程序商店吗?

我希望我的问题是可以理解的。

EDIT:
See my answer

I saw some interesting frameworks to build applications for mobile platforms like Android and iPhone with HTML and Javascript so you can use your current web-development skills without learning a new platform language. That's very interesting because you can write just ONE application for many platforms. Very easy to maintain.

But, you cannot sell it in the App stores, so I’m wondering if it is possible to use an embedded webbrowser in the application that loads an external/included html file.

I have seen that it is possible to create Android and iPhone apps with flash, that's is easy, so i want to create a simple 'host' application that only loads content and I can use it over and over again to distribute a new app.

So the question is, is it possible to create a simple app with flash that embeds a webbrowser to load a html file?

When it is possible, next question is, it possible to communicate with the embedded webbrowser? Also a question is, will Apple allow such application in it app store?

I hope my question is understandable.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

暖阳 2024-11-24 07:28:54

从非常严格的意义上讲,是的,您可以制作一个应用程序,它只是一个指向您的网络托管应用程序的简单 WebView 包装器。

尽管在 Android 市场社区中,这通常是不受欢迎的,而且我相当肯定这样的应用程序不会通过苹果的闭门决策委员会。

In a very strict sense, yes, you can make an app that is just a simple WebView wrapper pointing to your web-hosted app.

This is usually frowned upon though in the android market community, and i'm fairly positive such an app won't make it through Apple's closed-doors decision committee.

ま昔日黯然 2024-11-24 07:28:54

在 iPhone 上,如果您的应用程序仅包含 UIWebView,那么您的应用程序很可能会被拒绝。您可以做的是要求您的用户为您的网络应用添加书签,并在主屏幕上添加一个图标。想想 iPhone 版 Basecamp

On the iPhone, if your app only consist of a UIWebView it is very likely that you app is going to be rejected. What you could do is ask your users to bookmark your webapp adding an icon to the home screen. Think Basecamp for iPhone.

独享拥抱 2024-11-24 07:28:54

经过这么长时间我得到了答案。

Phonegap 使用 WebView 来显示 HTML 内容。它是一个编译后的带有嵌入式WebView的原生App。

苹果接受phonegap生成的应用程序,但它仍然不确定它是否进入了AppStore,这取决于你用它做什么。我认为简单的应用程序就可以做到。另请参阅:http://www.phonegap.com/faq

编辑/更新:
我尝试分配多种工具/解决方案来创建跨平台应用程序,但所有这些似乎都做同样的事情:它是带有嵌入式浏览器的特定平台的可执行文件。它们都没有将 HTML 编译为本机代码。

Flash(Builder)则不同,它需要AIR(可以编译成可执行文件)。当您(仅)将 WebView 与 Flash 一起使用时,这有点矫枉过正,因为实际上您不需要 AIR 来在 WebView 中显示 HTML。我认为最好使用phonegap 来“编译”可执行文件。

After all this time i got the answer.

Phonegap uses a WebView to display the HTML content. It is a compiled native App with embedded WebView.

Apple accepts phonegap generated applications but it still not sure if it made it to the AppStore, it depends on what you doing with it. I think simple apps will made it. See also: http://www.phonegap.com/faq

EDIT/UPDATE:
I tried allot of tools/solutions to create crossplatform apps but all of these seem to do the same thing: It's a executable for the specific platform with an embedded browser. None of them compiles HTML to native code.

Flash (Builder) is something different, it requires AIR (can be compiled into the executable). When you using a WebView (only) with Flash, it is overkill because in fact you do not need AIR to display the HTML in a WebView. I think it is better to use phonegap to 'compile' the executable.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文