将 SWF 移植到 Android 设备
我们有许多 SWF,希望将其重新用作 Android 应用程序,但在查找某些信息时遇到了困难。
我意识到 Android 分布在许多不同的硬件上,但是有标准化的分辨率吗?如果不是,您将如何根据屏幕调整舞台大小?
其次,可以将 SWF 上传到 Android 商店吗?如果不能,在将其转换为可以上传的格式的同时保留 SWF 功能的最佳方法是什么?
您认为重要的任何其他建议都会有所帮助。
谢谢。
we have a number of SWFs we want to repurpose as Android apps, but are having trouble finding some information.
I realise that Android is spread across a lot of different Hardware but are there any standardised resolutions? If not how would you go about resizing the Stage depending on the screen?
Secondly can SWFs be uploaded to the Android store and if not what is the best way to mantain the SWF functionality whilst converting it to a format that can?
Any other advice you think important would be helpful.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
以下是 Android 文档(页面底部有一些代表性的屏幕尺寸): http:// /developer.android.com/guide/practices/screens_support.html
首先,为了将您的应用程序部署到 Android 商店,您需要将其发布为 AIR 文件。 (请注意,这需要 Android 设备上安装 AIR:https://market .android.com/details?id=com.adobe.air)。
您可以使用
flash.system.capability
获取应用的屏幕分辨率:或者在使用 AIR 时通过
flash.display.screen
获取应用的屏幕分辨率,因为这包含其他屏幕信息。最后,您还需要记住屏幕方向(请参阅 http://www. adobe.com/devnet/flash/articles/screen_orientation_apis.html)。您可能还需要考虑多点触控,并从 UI 角度审查您的应用程序,以考虑 Android 与 Web 相比的不同用户体验。
祝你好运!
Here's the Android docs (with some representative screen sizes at the foot of the page): http://developer.android.com/guide/practices/screens_support.html
First of all, in order to deploy your app to the Android store you need to publish it as an AIR file. (Note that this needs the Android device to have AIR on it: https://market.android.com/details?id=com.adobe.air).
You can get the screen resolution for the app using the
flash.system.capabilities
:or via
flash.display.screen
when using AIR as this contains additional screen information.Finally you also need to bear in mind the screen orientation (see http://www.adobe.com/devnet/flash/articles/screen_orientation_apis.html). You may want to consider multi-touch as well, and review you app from the UI point of view to take on board the different user experience of Android compared with the web.
Good luck!
尝试 GAF 转换器。这是将 swf 文件移植到 Android 的良好解决方案。它支持许多功能,我认为它会对您有所帮助。
Try GAF Converter. it is goood solution for porting swf files to Android. it supports numerous features and I think it will help you.