siri

How do I debug my Siri (Intents) extension?

橙三吉。 提交于 2019-12-04 07:12:05
I'm building a Siri aka Intents extension . I do understand that I can attach the debugger to a running process after start, however, I never see my process. I do have the authorization for my app set to active and the extension must be running at least for some time, Siri is showing clear responses. By the Apple documentation, you should run the Extension Scheme with Siri as host app. However, if I try that nothing happens on the device, it's waiting to attach for ever. Apple mentions the first connection can take " several minutes ", but not hours ... Any idea where I'm going wrong or how to

iOS: Is there any notification that Siri has appeared?

随声附和 提交于 2019-12-03 21:37:24
I would like to receive a notification each time Siri appears or disappears from the screen. It may appear when the user puts the iPhone near his ear. Is it possible? I ran a test and the following notifications are sent when Siri appears: _UIApplicationWillAddDeactivationReasonNotification UIApplicationWillResignActiveNotification ... and when Siri is dismissed: _UIApplicationDidRemoveDeactivationReasonNotification UIApplicationDidBecomeActiveNotification So, no... since there isn't a public Siri API, and UIApplication doesn't send any Siri specific notifications, it looks like we're out of

Siri chat bubble color's in iOS

别来无恙 提交于 2019-12-03 21:14:04
I tried creating the Siri chat bubble in core graphics. I am at a stage where I can draw the shape. I am stuck with the color's here. Wanaa get the border color and the fill color code. here is what I did so far.. - (void)drawInContext:(CGContextRef)context { CGRect rect = gradientRectFrame; CGFloat radius = 30; CGFloat originBufferX = 0.0; CGFloat originBufferY = 0.0; CGFloat rightAngleTriangleWidth = 20.0; CGFloat rightAngleTriangleHeight = 20.0; CGFloat fullRectWidth = rect.size.width; CGFloat fullRectHeight = rect.size.height; CGPoint pointZero = CGPointMake(originBufferX, fullRectHeight);

How to integrate SIRI in iPhone app? [closed]

a 夏天 提交于 2019-12-03 10:04:14
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I am developing an iPad app. I want to integrate SIRI functionality in it. So, please guide me to work on this. Actually I don't know how to start. Thanks, Cp 回答1: Till now apple not released siri's api for third

Interacting with Siri via the command line in macOS

杀马特。学长 韩版系。学妹 提交于 2019-12-03 09:57:39
问题 I use Siri on my phone and watch to create reminders on the go. When I'm in the office I don't want to disturb the quiet by using Siri, so I usually use an Alfred workflow that is integrated with the Reminders app, or use the Reminders app directly. However, both have a rather clunky interface, and it would be much easier if I could just type at the command line: $ siri "remind me to check stack overflow for responses to my question in 15 minutes" macOS Sierra has introduced Siri to the

How can I open my SwiftUI app and perform a function using NSUseractivity from within Siri Intent Extension?

倖福魔咒の 提交于 2019-12-03 08:39:27
My Problem My app has its own Shortcuts actions created using Intents Extensions. They perform background actions perfectly. For some actions, I'm trying to make the intent extension open the main (container) app when run in Shortcuts and perform a function. I'm having trouble with NSUserActivity and I'm not sure if it's the fact it's a SwiftUI project or the way I'm implementing it (or both). What I've tried I have registered my NSUserActivity name as an NSUserActivityType in my info.plist ("com.me.project.activityName"). I've added the code below to my AppDelegate. I initialise a new

Is there any way to monitor user's movement of iphone like the “raise to speak” feature?

徘徊边缘 提交于 2019-12-03 08:35:27
I want to get notified when the user raises the iphone to his face. Just like siri does. Is it possible? Add more specific requirement: I want to darken the screen when user put the phone near his ear. I know the Proximity Sensor can be enable to implement this. But it's annoying that the screen will be darkened from time to time when user moves the finger upon the sensor. So I wonder how to avoid this case and only darken the screen when user raise the iphone to speak? See Using the Proximity Sensor in the UIDevice Class Reference. So, you: Enable it: UIDevice *device = [UIDevice

How to integrate SIRI in iPhone app? [closed]

亡梦爱人 提交于 2019-12-03 00:32:55
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center . I am developing an iPad app. I want to integrate SIRI functionality in it. So, please guide me to work on this. Actually I don't know how to start. Thanks, Cp Till now apple not released siri's api for third party applications. If you are looking for text-to-speech, speech-to-text functionality. There are alot of external api's like:

Cortana 和 Siri “和平共处”了

混江龙づ霸主 提交于 2019-12-01 10:26:31
今天体验了Mac上最好用的虚拟机Parallels Desktop 当看到上面的画面的时候我惊呆了!!! Cortana 和 Siri 竟然“和平共处” 了,问了度娘才知道是 PD13的新功能: 与上一代产品相比,PD13 主要增加了对 Mac 设备新特性 Touch Bar 的支持,用户可以通过 Parallels Desktop 13 将 Windows 应用程序的常用功能放置到 Touch Bar 中,在一定程度上可以提升工作效率。Parallels 目前已经将 Office 、IE、Edge、Chrome、Firefox 等应用程序集成到 Touch Bar 功能中。对于没有支持到的应用程序,Parallels Desktop 13 提供自定义功能。 我只想说太惊艳了。。。I like it!!! Windows 文件夹: ie 浏览器: 来源: oschina 链接: https://my.oschina.net/u/2399303/blog/1558351

结合工程实践选题调研分析同类软件产品

孤街浪徒 提交于 2019-12-01 07:13:31
我选择的工程实践题目是针对特定领域的对话机器人的实现,由于具体针对领域尚未确定,因此先从上层,即对话机器人这一层面寻找同类软件产品。 寻找到了以下三个同类软件: 1、微软小冰 2、苹果Siri 3、Google Assistant 1、这些软件的开发者是怎么说服你(陌⽣⼈)成为他们的⽤户的?他们的⽬标都是盈利么?他们的⽬标 都是赚取⽤户的现⾦么?还是别的? 上述产品大部分为该公司其他产品所内置的语音助手,例如苹果开发的Siri内置于ios操作系统中,而微软小冰同样内置于微软旗下的windows操作系统中。 这些软件多数用于为操作系统的使用者带来更好的用户体验,从长远来看,其为操作系统的盈利或许会提供一定的助力,但就软件本身而言,任何安装了对应操作系统的用户均可 免费使用他们。 如前文所提,这些软件多以“助手”身份存在,用户可以通过语音与其进行交互,除了事务上的需求,例如查询天气,查询附近餐厅以外,用户还可以与这些应用闲谈,并且通常能得到 一些比较有意思的回答。 2、这些软件是如何到你⼿⾥的? 作为该公司操作系统的用户预装至设备中。 3、这些软件有Bug 么?⼜是如何更新新版本的? 在ios11中,出现了一个bug,用户能够通过语音使用siri将信息推送朗读出来,无论该信息是否被设备用户设为私密,这无疑会造成用户的隐私泄露。 苹果官方通知将会在未来的版本更新中解决这一问题