Flash swf 文件作为 Android 上的应用程序运行
我有一个 Flash 应用程序(.swf 格式)。我想将整个 swf 文件和其他内容(相关图像、xml 文件)打包成一个文件并在平板电脑中访问。所以基本上我需要将其制作成一个 .apk 文件才能在我的平板电脑中访问。 请让我知道是否可以做到这一点,以及做到这一点需要哪些工具。 问候,
I have a flash application(.swf format). I wanted to package the entire swf file and other content(related images, xml files) into a single file and access in a tablet. So basically i need to make it into a single .apk file to access in my tablet.
Please let me know if its possible to do it, and what are the tools required to do this.
Regards,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先,从 Adobe 网站 下载 Flash Professional CS5.5 并安装。
然后,阅读如何发布 Android AIR 应用程序
First, download Flash Professional CS5.5 from Adobe's site and install it.
Then, read the instructions on How to publish Android AIR applications
要在android上播放swf,您需要在android 2.2或更高版本中开发您的项目,以便安装并运行支持您的swf(后台冲击波文件)的Flash播放器10.3,您可以轻松播放swf。
您需要拖动 Webview 并附加这些 swf 源路径。
您可以从这里获取手机中的播放器 :: https://market.android.com/details?id=com.adobe.flashplayer&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5hZG9iZS5mbGFzaHBsYXllciJd
现在,如果您打算直接播放 swf,则 Adobe Air会对您有所帮助,因为它提供了 sdk,您可以在其中将 Flash 转换为您的flash 文件到 apk。(即易于 flash 开发者)
For play swf with android, you need to develop your project in android 2.2 version or above so Flash player 10.3 are install and run which support your swf(shock wave file at background) and you can easily play swf.
You need to drag Webview and attach those swf source path.
you can get player in you mobile from here :: https://market.android.com/details?id=com.adobe.flashplayer&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5hZG9iZS5mbGFzaHBsYXllciJd
Now if you plan to play swf directly, then Adobe Air will help you because it provide sdk in which in Flash you can convert your flash file to apk.(that is the easy to flash developer)