iPhone 外部配件帮助

发布于 2024-10-22 05:32:11 字数 193 浏览 1 评论 0原文

我想构建一个可以与某些外部第三方硬件通信的应用程序。我知道外部附件框架可以帮助我解决这个问题,但我有一些困惑……

  1. 在开始之前我需要注册“Made For iPod”程序吗?
  2. 在开始之前我是否需要第三方硬件,或者我可以在没有硬件的情况下启动?
  3. 如果硬件当前不可用,是否有其他方法可以测试应用程序?

I want to build an app that can communicate to some external third party hardware. I come to know that External Accessory framework can help me out in that, but I have few confusions……

  1. Do I need to register ‘Made For iPod’ program before I start?
  2. Do I need the third party hardware before I start, or I can start without hardware?
  3. Is there any alternative to test the app, if the hardware is not currently available?

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

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

发布评论

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

评论(2

淡墨 2024-10-29 05:32:11
  1. 你可以这么做。但他们并不像iOS程序那样批准所有注册的人。 (根据我的经验)这需要很多时间,而且他们的要求并不是每个人都能满足。如果硬件已经准备好,则无需申请。 MFI 计划适用于硬件开发人员。如果你不生产硬件,我什至不会尝试进入 MFI。这是浪费时间和金钱。
    如果您为配件编写官方应用程序,制造它的公司应该为您提供一个原型,以便您可以尽快开始。

  2. 我强烈建议购买硬件。如果这是您和公司的第一个附属项目,那么我会考虑去那里并开始在现场编写基本代码,在那里您可以接触到开发人员。

  3. 通信通过流进行。我从未尝试过,但我认为您可以使用网络连接编写整个协议特定的通信,然后在拥有硬件后用 EASession 替换网络内容。
    如果您想测试外部附件框架,您应该看看 EADemo。我从未尝试过(而且我附近没有可供测试的配件),但我认为这应该适用于所有配件。但在我看来,与 EA 框架相关的一切都是整个过程中最简单的部分。

摘要: 获取硬件。如果您将在两周内获得硬件,请立即完成用户界面部分。如果您在两周内无法拿到配件,您应该索取原型。


关于您对另一个问题的评论:当您是 MfI 的成员时,可以使用测试设备。

  1. You could do that. But they don't approve everyone who registers like in the iOS program. It takes (in my experience) a lot of time and they have requirements that not everybody can met. You don't need to apply if the hardware is ready. The MFI program is for hardware developers. If you don't make hardware I wouldn't even try to get into MFI. It's a waste of time and money.
    If you write an official app for the accessory, the company that makes it should give you a prototype so you can get started ASAP.

  2. I would highly suggest to get the hardware. And if this is the first accessory project for you and the company then I would consider to go there and start writing the basic code on site, where you can get your hands on the developer.

  3. The communication works with streams. I never tried it but I think you could write the whole protocol specific communication with network connections and then replace the networking stuff with the EASession once you have the hardware.
    If you want to test the External Accessory framework you should have a look at EADemo. I never tried (and I don't have a accessory near me to test) but I think this should work with all accessories. But in my opinion everything EA Framework related is the easy part of the whole process.

Summary: Get the hardware. If you'll get the hardware in two weeks do the User Interface part now. If you can't get your hands on the accessory within two weeks you should beg for a prototype.


Regarding your comment to the other question: Test equipment is available when you are a member of MfI.

二货你真萌 2024-10-29 05:32:11
  1. 如果您想合法生产和认证您的第三方硬件,您将需要申请“Made For iPod”计划。您将获得 API 和文档来执行此操作。
  2. 不幸的是,您获得批准的机会非常低。
  1. If you want legitimately produce and certify your third party hardware, you will need to apply for 'Made For iPod’ program. You will get and API and documentation to do that.
  2. Unfortunately your chances to be approved are very low.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文