0

Is there any simple way to implement google speech api into my ios program?

I just want user to push a -microphone shape button- (like they do in google chrome search )

I want to awake google speech api via java script. But if it is possible without having "a program wants to use your microphone do you let it use... " warning message (Because you know after several push it is annoying!)

Then I just want to get the recognised text into a text area

Is there any simple way to do that?

fatihbarut
  • 19
  • 5
  • I've written a [library](http://github.com/H2CO3/libsprec) that uses the Google speech recognition API and runs on iOS. –  Jul 08 '13 at 09:26
  • thanks but I tried to use it and couldn't. Could you also explain little bit about usage of it? – fatihbarut Jul 08 '13 at 12:05
  • @faithbarut There are examples in the "examples" folder, have you seen them? –  Jul 08 '13 at 12:11
  • The thing is, this way of google speech usage is not safe I think. Why? 1- If google changes something with an update it is very high risk that this method is not usable anymore 2- Apple may reject my program but if I use java script method which is provided by google apple may accept... – fatihbarut Jul 08 '13 at 18:13
  • Anotherthing there is no .m file among them. How it can be an object c example? – fatihbarut Jul 08 '13 at 18:18
  • @faithbarut It isn't. The library is written in C, and its interface is C too. Also, if you don't like how it's done, write another library. You're not forced to accept the helping hand. –  Jul 08 '13 at 18:25
  • what is your point? you dont answer any of above questions you just create new ones... – fatihbarut Jul 08 '13 at 23:51
  • @faithbarut C is a subset of Objective-C. If you want to use a C library on iOS, you can just do it. Don't expect Objective-C examples to come with a C library. –  Jul 08 '13 at 23:59
  • and how can I call a C function from a C file and which function should I call first? – fatihbarut Jul 09 '13 at 00:51
  • @faithbarut `the_function()`. [And here's the example.](https://github.com/H2CO3/libsprec/tree/master/examples/simple.c) –  Jul 09 '13 at 00:54

0 Answers0