如何启动一个iPhone应用程序,当外部附件或者在配对BT或插入底座连接器 [英] How to launch an iphone app when an external accessory is either paired over BT or plugged into dock connector

查看:481
本文介绍了如何启动一个iPhone应用程序,当外部附件或者在配对BT或插入底座连接器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网上研究了这个死亡和无法找到有关自动启动一个iPhone应用程序,当外部附件或者使用BT配对,或插入到基座接口什么。

I have researched this to death online and cannot find anything regarding auto launching an iphone app when an external accessory is either paired using BT or plugged into the dock connector.

我们是的MFi开发与BT的配件和应用,我们希望配对的时候推出。我们有一个包含我们的Info.plist协议和包含正确的协议所有工作和交流的装置。该应用程序与我们的BT设备效果很好,不过,我想看到​​应用程序启动时配对。

We are an MFi developer with a BT accessory and application that we would like to launch when paired. We have the Info.plist containing our protocols and the device containing the correct protocol all working and communicating. The application works well with our BT device, however I would like to see the app launch when paired.

我与插入连接器配件之前,看到了这一点,并会住知道这样就完成了。

I have seen this before with accessories plugged into the connector and would live to know how that is accomplished.

<一个href=\"http://www.metacafe.com/watch/5772611/ces_2011_withings/\">http://www.metacafe.com/watch/5772611/ces_2011_withings/

在视频检查在3:15。

Check at 3:15 in the video.

请问iPhone只是有自动启动能力的码头相连的项目?

Does iPhone just have that ability for dock connected items to auto start?

我知道,在安装应用程序时的外部附件框架注册与iPhone的协议。这是iPhone / iPod的如何知道什么时候你连接一个BT(或连接器)设备带你到苹果商店,你没有一个应用程序为您连接设备的协议。

I know that the External Accessory framework registers the protocol with the iPhone when the app is installed. This is how the iPhone/iPod knows to take you to the apple store when you connect a BT (or connector) device and you don't have an app for your connected devices protocol.

我不明白为什么应用程序不启动配对的时候,我想这将是没有道理的。是否有人可以阐明这个问题的一些情况。我发现最好的是从苹果文档:

I don't understand why the app does not launch when paired, I would think this would be a no brainer. Can someone please shed some light on this topic. The best I found is from Apples docs:

该应用程序能够与外部附件沟通应该申报?协议他们在Info.plist文件支持。具体的协议,宣布支持让系统知道,当配件连接您的应用程序可以启动。如果没有应用程序支持连接的配件,系统可以选择启动App Store并指出,做应用。

Applications that are able to communicate with an external accessory should declare the ?protocols they support in their Info.plist file. Declaring support for specific protocols lets the system know that your application can be launched when that accessory is connected. If no application supports the connected accessory, the system may choose to launch the App Store and point out applications that do."

我不明白是可能会选择推出的意思,这是否意味着也选择推出?请帮助。

I cannot understand the meaning by "may choose to launch", does this mean is also chooses to launch? Please help.

推荐答案

该设备的制造商需要包括在固件级别支持此功能。这个过程的细节目前由MFI(专为iPhone / iPod)的非公开协议的方式保密,所以很遗憾的是所有的细节,我可以提供。祝你好运!

The manufacturer of the device needs to include support for this feature at the firmware level. The details of this process are currently confidential by way of the MFi (Made For iPhone/iPod) non disclosure agreement, so unfortunately that is all the detail I can provide. Good luck!

这篇关于如何启动一个iPhone应用程序,当外部附件或者在配对BT或插入底座连接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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