我用AIR或本机code为iOS应用程序? [英] Do I use AIR or native code for iOS application?

查看:86
本文介绍了我用AIR或本机code为iOS应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Flex的桌面开发已经好几年了。我是新来的移动开发并需要创建为iPhone 6的应用程序,但不知道我是否应该使用Flex / AIR或本机code。

在iOS应用程序的要求如下:

  • 录制视频到本地存储中的应用程序
  • 播放视频从本地存储中的应用程序
  • 在暂停/内的应用程序寻求视频
  • 在视频等的TextInput,文本区和DropDownList中的顶部,这样用户可以做笔记作为正在录像覆盖控制
  • 在数据通过的TextInput输入/文本区/ DropDownList的保存到本地存储
  • 选项上传视频和文本数据,本地服务器

我可以做到这一切用空气或我应该使用本地code?

解决方案
  

我可以做到这一切使用AIR的?

是的。使用 CameraUI的捕捉视频的设备上(使用设备自带的相机UI),而的StageVideo 播放视频(利用GPU)。叠加您的应用程序的用户界面(Flex或者你自己)来控制视频播放。使用保存本地数据文件 EncryptedLocalStore 共享对象。上传到使用服务器文件/上传()

  

或者我应该使用本地code?

这是给你的。有取舍,每个人都会有自己的见解。如果你有很多使用Flex / AS3的经验,那么你应该能够很容易地计算出这个应用程序在AIR中,看看它是否满足你的需求。

I have been using Flex for desktop development for years. I'm new to mobile development and need to create an app for the iPhone 6 but have no idea whether I should be using Flex/AIR or native code.

The requirements of the iOS app is as follows:

  • Record video to local storage within app
  • Playback video from local storage within app
  • Pause/seek video within app
  • Overlay controls on top of the video such as TextInput, TextArea and DropDownList so user can make notes as video is being recorded
  • Data entered via TextInput/TextArea/DropDownList is saved to local storage
  • Option to upload video and text data to local server

Can I achieve all of this using AIR or should I be using native code?

解决方案

Can I achieve all of this using AIR?

Yes. Use CameraUI to capture video on the device (using the device's native camera UI), and StageVideo to play the video (using GPU). Overlay your app UIs (Flex or your own) to control video playback. Save local data using File or EncryptedLocalStore or SharedObject. Upload to a server using File/upload().

Or should I be using native code?

That's up to you. There are trade-offs, and everyone will have their own opinion. If you have a lot of experience with Flex/AS3, then you should be able to work out this app in AIR quite easily and see if it meets your needs.

这篇关于我用AIR或本机code为iOS应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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