I am working on project its requirement is convert human voice to text , but I heard that in ios 5.1 they have added this new feature .
can any one help me to how to integrate this new feature in my application with a small example .
Thanks in Advance.
saroj.
You don't need to do anything to integrate it into your app - any UITextField or UITextView that the user taps into brings up the keyboard, and this has a microphone icon to the immediate left of the spacebar. The user taps this, does their talking, and taps again. The speech to text is done by Apple's servers, so it takes a few seconds, maybe longer when on a slow connection. While this is happening, there will be three purple coloured circles displayed in the text field to denote that speech to text is happening. These are then replaced with the text that is returned from Apple. Note that if you have no network connection (e.g. wifi off, airplane mode, or just no mobile signal available), then the button is removed from the keyboard. So just note that you have no access to text-to-speech when offline.
Related
I have an app that uses ARKit to detect faces and send over the network the coordinates of interest, which works well. I would like this app to run in background, still sending the data over the network, while I would be using another app (almost) fullscreen.
The option 'Enable multiple windows' is activated in info.plist, but as soon as I launch my other app, the ARKit app stops sending information (the app actually probably stops).
Is there a simple way to do this, and at least is this feasible? Thanks!
This is not possible at this point. Camera and AR stuff is disabled at a system level in apps when they are displayed in Slide Over or Split View.
I'd recommend displaying a warning message when Slide Over/Split Screen is being used saying that you should use the app in full screen mode. See this answer under a different question for details.
I am facing issue with keyboard when barcode scanner device is connected using bluetooth.
Flow:
1) I have turned on Bluetooth, and connected barcode scanner device using bluetooth by entering displayed code in it to connect.
2) I am able to use scanner, but the default keyboard is not displaying even we call becomeFirstResponder.
3) When I disconnect the scanner device or turn off bluetooth connectivity then the keyboard is coming.
Note: Below is the link for the Barcode Scanner device i am using
Barcode Scanner Device Information
Anyone faced this kind of issue?
Please suggest how to fix this issue.
Thanks in Advance..!
This solution only works on Ipad. when the soft keyboard disappears just press and hold the down arrow on the bottom right of the screen and the soft keyboard will be back.
We are clear and there is no question that Bluetooth Scanner is pretending to be a Bluetooth keyboard, so iOS thinks that it does not need to show the on screen one.
For Barcode Scanner type socket mobile are now adding a feature to open the iPad onscreen keyboard. For example, the Socket CHS has a new button press option. You can check if your device have the same functionality*(It is likely to be of some help)*
Bring Up the Virtual Keyboard With a Real Keyboard can be a good idea.
When you have a Bluetooth keyboard connected to your iPad, the virtual keyboard will cease to appear. (This is a good thing.) However, what if, for some random reason, you needed that virtual keyboard? Don't unpair your Bluetooth. Just... Hit the eject key on Apple's physical keyboard. It'll bring up the virtual one.
There is another way to try to solve this, personally I tried it and it was very unstable. Taking into account that it is a kind of hack, expected unstable behavior.
This answer to a related question (https://stackoverflow.com/a/3837131/493988) has what seems like a hack based on a UITextField's inputAccessoryView.
Even the user #Kurt Arnlund in this answer mentions a external app called KeysPlease link here. I really have not tried it, you can try.
In summary, there seems to be a clean way to solve this, I think these may be the best attempts to reach a solution
Sources:
Bluetooth Scanner sets system-wide keyboard, UITextFields wont show soft keyboard on responder
Force on screen keyboard to show when bluetooth keyboard connected
Show iPhone soft keyboard even though a hardware keyboard is connected
I am writing a checkin app that will use a bluetooth RFID scanner to checkin users as they scan. All the scanners that I've found seem to work as bluetooth keyboards. The issue is that there will be other activity going on in the app including typing using the built in keyboard. I want this activity to be uninterrupted by the RFID scanner. So my idea is to check as every character comes in wether it is coming from the built in keyboard or the bluetooth one and if it is from the bluetooth scanner move that to a hidden textfield to be dealt with on a separate thread while the user can continue typing. Is there any way that I can do this?
I would like to remote control my Sonos System as well as my home automation system with my old IOS devices I do not use anymore. I have in multiple rooms multiple devices installed, so I'd like to develop per room a separate screen, which allows me to execute certain functions.
For instance in my garden I'd like to turn on the radio, change volume, change radio station switch on the light, dim the light.
I would like to have one screen showing me several buttons as well as slider.
Button1 labeled "mute" shall mute the Sonos system by calling a URL:
http://myphpwebserver/pagetocontrolsonos.php?mute=true
Button2 labeled "louder" shall mute the Sonos system by calling a URL:
http://myphpwebserver/pagetocontrolsonos.php?louder
and so on ....
The php page does not provide any feedback, but only calls the Sonos.
The PHP page is already developed and works fine. I just want to have native buttons in a native iPhone app.
In addition calling the Sonos I'd like to call my Home-Automation System to switch an dim ma light.
Slider1 labeled "light" shall call a URL from Home-Automation Server based on slider setting.
In case slider is set to the middle it shall call:
http://myhomeautomationserver/lamp.php?dim=50% - while 50% is the slider setting.
What do I need to perform to call a URL from a button or a slider?
Can someone help?
You can use NSURLConnection to send URL requests. Have a look at this tutorial for an introduction on how to do so.
I understand this is a bad idea (to show a voice dictation button in the app when it's already on the keyboard when it's available). But I have a client who would really like to have a microphone icon in a text field that would enter voice dictation mode when pressed.
Note, I am talking about the standard OS voice dictation mode (that the keyboard controls).
So the basic question is:
Can I tell the keyboard to enter voice dictation mode?
(my guess is that it's not allowed, but I would love something more "official" than my gut)
This wouldn't be possible unless you were to jailbreak your device. There would be little reason for Apple to offer a public API to do this, because any time you would be able to invoke it is when the keyboard is showing anyway, which would contain the button to activate it.