I have below Requirement to integrate iOS Siri into React antive.
Basically I want to build an application that will take certain parameters from user over voice and processes it and returns the result.
Simple ex: Todo App,
User will invoke SIRI by saying
"Hey SIRI create a todo for me "
Siri opens up and asks "What is the todo that I need to add " ?
User says a sample note "reminder to exercise"
Siri passes that information to app and asks another information "When the todo needs to be completed' ?
User says some date.
Post that the the details are processed and todo is stored and success message shown to user via SIRI.
Does anyone how this can be achieved in react native ?? I have already explored react-native-siri-shortcut ad this is not having the above capability. Thanks in advance, quick help is appreciated.
Looks like you don't need Siri but speech recognition. For example, you can use this library https://github.com/react-native-voice/voice which utilize IOS speech recognition.
Related
I need to develop a Bot-like application with integration of Siri in iOS. By asking anything, Siri would accept my text and call an api by passing that text in as a parameter. To the response of that api, Siri should show me that text (or speak the responded text if possible), without opening the app.
Up to now, I am able to integrate Siri. Also I can get text from Siri and show it as an IntentUI. Now, if I call the api by passing that text and receive a response, how can I show the response (after I parse it) in Siri?
I use INSendMessageIntentHandling to handle messages. I found methods related to sending messages but I could not find any event that could process received responses (from anywhere).
Is it possible to show responses using Siri without opening the app?
Please let me know if more information is needed.
Yes you can using sirikit to make custom intents and get parameters from user in ios 13.1
See the demo apple showed at WWDC 2019
and This is the project for the application they are demoing
I'm thinking a lot about how Siri could improve the UX of my App.
I'm coding an app dedicated to fitness, to log your workouts and your personal records.
I would like to let the user use Siri to use features of my App, but I don't really understand if it's possible or not. I read the documentation but it's not very clear for me, I don't know if Siri is limited to "start / stop / pause / resume a workout" or if we can do more.
( https://developer.apple.com/documentation/sirikit/workouts )
I would like to add things like that:
"Hey Siri, what's my personal record for deadlift?"
"Hey Siri, log 230 reps for my workout of the day"
"Hey Siri, what is the workout of the day?"
Could you tell me if it's possible to do that? Is it possible to connect Siri with your app and your database / functions?
The possible actions that Siri can initiate (the "intents") are pre-defined by Apple. From https://developer.apple.com/documentation/sirikit:
SiriKit defines the types of requests—known as intents—that users can
make. Related intents are grouped into domains to make it clear which
intents you might support in your app. For example, the messages
domain has intents for sending messages, searching for messages, and
marking messages as read or unread.
According to Intents and thanks to this thread, I know that you can open your app via Siri with "Open [APP NAME]",
What I want to know is if it is possible to tell to Siri just only one word like 'Cheese' to open the Camera app or an other specific keyword set beforehand to open your own app using Siri.
Is it possible ? If yes, I have to use Intents to do that or there is another way ?
Siri runs on the OS level, so in order to use any intents you have set within your app, the user must specify your app.
"Get a ride with Lyft" or "Message Mom in Facebook" etc..
More examples in the doc:
https://developer.apple.com/sirikit/
You can use shortcuts app which comes inbuilt in all iOS devices, for knowing more about Siri Shortcuts refer below links.
https://developer.apple.com/documentation/sirikit/adding_user_interactivity_with_siri_shortcuts_and_the_shortcuts_app
https://www.pocket-lint.com/phones/news/apple/144718-what-is-siri-shortcuts-and-how-does-it-work
Here is my detailed description to achieve by using Siri.
I'm new in Siri kit integration. I have an app which has certain functionalities like send some information to server. The input is number. Below mentioned actions I want to do via Siri :
Instruct to Siri - Send MyAppname amount used
Siri asks - what is the amount.
Instruct to Siri - Submit
Go through Apple doc and some of other blogs but I didn't find any solution as per my requirements.
1.https://developer.apple.com/library/prerelease/content/documentation/Intents/Conceptual/SiriIntegrationGuide/SiriDomains.html#//apple_ref/doc/uid/TP40016875-CH9-SW2
2.http://jamesonquave.com/blog/adding-siri-to-ios-10-apps-in-swift-tutorial/
Do we have any custom Intent to perform this?
Is there any way to achieve this actions
Please let me your ideas.
Thanks in advance.
You can only use the intents from the available domains. If you want to send money or something similar to another user use the INSendPaymentIntent intent.
I am developing on BlackBerry 4.7 Storm device.
Reminder:
My application will allow user to enter data and set Date&Time to remind the notes. Can someone please suggest me how do i handle "reminder with some small description" at that particular Date&Time? What API or code should i use to handle reminder alarm?
I also want to add recurrence in this reminder, so that it will remind based on the available recurrence. Does recurrence and reminder API supported in BB?
It should do the following features:
1. Remind Birthday whenever it occurs(i am stroring that particular user DateOfBirth in my app persistent). It can show in alert or dialog with a smal description message. Reminder alert should be able to show even my app is not launched(opened).
Reminder should handle recurrence. If there is a recurrence enabled for that particular DateOfBirth reminder, then reminder alarm should be able to handle recurrence feature.
SMS:
If i want to develop my application, which will be able to send SMS with predefined text automatically in the background to the particular number, how to do that? Is it possible, (or) my app will allow user to click "Send" kind of button which will take user to built-in SMS app and allow to send?
Please give me some link (or) sample source to have a look?
Thank you.
You can use Alert and Dialog notifications for reminder.
Yes, it's possible to open sms application, see this article:
Sending and receiving GSM SMS on Blackberry using RIM APIs
UPDATE
I don't know about reminders API in BlackBerry.
To show reminder without having your app running, you can try PushRegistry class, although you'll have to create some MIDlet to show this reminder message:
BlackBerry PushRegistry How-To
BB KB How To - Register a MIDlet with the PushRegistry
BB KB How To - Create an auto-start MIDlet using the PushRegistry
BB KB How To - Create an auto-start MIDlet
Using PushRegistry with SMS Communication
I don't know if I've understood your question well but here is answer according to what I've got.
You can use J2ME PIMs library which is personal information management system BB also implements PIM in its API. It is up to you which you want to use. BB deals with three stuff.
ToDO list, Event(Calander) and contacts. From this API you can attach a listener or anything to it.
Just google PIM api JME and Blackberry you will found thousands of examples