关于蓝牙设备与ios连接后,自动打开一个app

How to launch an iphone app when an external accessory is either paired over BT or plugged into dock connector

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.

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.

http://www.metacafe.com/watch/5772611/ces_2011_withings/

Check at 3:15 in the video.

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

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:

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.

iphone bluetooth external autostart accessory


shareimprove this question

asked Apr 20 ‘11 at 17:26

andy k
4615

 
add a comment

1 Answer

activeoldestvotes


up vote2down vote

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!


shareimprove this answer

answered May 20 ‘11 at 19:07

Tim Bowen
462415

时间: 2024-11-13 06:44:11

关于蓝牙设备与ios连接后,自动打开一个app的相关文章

所有浏览器打开后自动打开115.29.163.152/404.html这个网页,然后自动跳转到hao123 解决办法

这几天,电脑所有浏览器打开后自动打开115.29.163.152/404.html这个网页,然后自动跳转到hao123这个网页,网上查询没解决办法.开始自己找,搜索注册表,都无效,最后下载软件HijackThis(HijackThis是一款英文免费软件,由荷兰的一名学生merijn开发.提供其利用业余时间开发的软件供大家下载.HijackThis能够扫描注册表和硬盘上的特定文件,找到一些恶意程序“劫持”浏览器的入口.但要提醒大家注意的是,这些内容也可能正由正常的程序在使用,所以不能草率处理,必须

通过修改注册表,阻止win10开机后自动打开msn中文网

有些Win10用户会遇到开机后自动打开浏览器访问MSN中文网的问题,可以通过修改注册表来解决这一问题 1. 打开注册表(Win+R,输入regedit) 2. 依次进入如下注册表项目录 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet 3. 修改注册表项EnableActiveProbing,值为0即可 好记性不如烂笔头,留在自己博客里,万一以后重装系统又遇到这个问题了,就可以很容易的解

inno安装卸载时检测程序是否正在运行卸载完成后自动打开网页-代码无效

inno安装卸载时检测程序是否正在运行卸载完成后自动打开网页-代码无效 inno setup 安装卸载时检测程序是佛正在运行卸载完成后自动打开网页-代码无效 --------------------------代码如下--------------------------- [Code]varErrorCode: Integer;IsRunning: Integer; // 安装时判断客户端是否正在运行function InitializeSetup(): Boolean;beginResult

linux编程C/C++如何自动打开一个终端并且运行新程序

做linux开发过程中,需要在某个程序运行到特定过程中打开一个新的终端界面,运行一个新的程序,具体的实现过程非常简单. 首先,system()用来在C/C++代码中实现系统命令,而gnome-terminal -e ./test用来打开当前目录的测试程序test. 在自己代码中添加如下一句命令: system("gnome-terminal -e ./test"); 如此可以实现在代码中打开一个终端,并且运行一个新程序. linux编程C/C++如何自动打开一个终端并且运行新程序,布布

VPN连接后 无打开VPN网络的解决办法

具体设置: 实际上vpn连接时,使用了你本地网关造成. 打开:VPN网络属性--->网络--->interner/ipv4属性---> 高级---> 高级TCP/IP设置 长叹一声 很长时间没解决今天看了篇文章想起了...顺利解决

android安卓升级版本安装后自动打开弹出完成和打开新版应用界面

public void installApk(File file,Context ctx) { Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setDataAndType(Uri.fromFile(file),"application/vnd.android.packagearchive"

安装完成Windows服务后自动打开

使用DOS进程开启服务 设置serviceProcessInstaller1控件的Account属性为“LocalSystem”设置serviceInstaller1控件的StartType属性为"Automatic" 在服务器上添加安装程序,在ProjectInstaller_AfterInstall(object sender, InstallEventArgs e)事件中,添加代码 1 System.Diagnostics.Process p = new System.Diagn

跳转页面后自动触发一个点击事件

实例: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <html>       <head>           <title>网页打开后,id为target的元素就被点击了</title>       </head>       <script>          function load(){       document.getElementById("target").clic

用js实现在加载完成一个页面后自动执行一个方法

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <!DOCTYPE html> <html lang="en"> <