How to include sound in app - iphone

I am developing an application in which I input text; when I hit enter it will speak. Does anyone know any sound engine or source code I should include so that it will talk? I have been trying to make this for the last four months but am not able to get it working. Please help me with this.

Have you tried using FLITE? It's easy to use and works quite well.

Related

Automated Testing (Watir): Retrieving data and implementing into your test?

I am just getting started with automated testing on RubyMine using Watir webdriver. So far I am having a blast and I find it works really well, even for a newb like me! :)
I want to create a test which retrieves an order code that is generated during the test and then later use the same code to run an 'include?' verification query on a different page.
I know I can use an HTML selector to show Watir where the code is, I want to know how to copy it and use it later. Can anyone point me in the right direction?

How do you implement help (using mallard) for a gtk3 app?

I am trying to create my own gtk3 application. I like to use mallard to display some help about how to use my application. However I do not know how to code such that when the help menu item is clicked the help (mallard) is shown. I have the .page files already ready.
Please note, I am not asking how to create help files using mallard. But rather how to integrate mallard into my gtk3 help.
Good question. In cases like this, I always look on git.gnome.org to see how Gedit does it. That's an excellent 'example' application.
First, look here at how they organize their help files:
help
\--C
| \--*.page
\--Makefile.am
\--ar
\--bg
\--ca
\--...other languages...
In help/Makefile.am, they use #YELP_HELP_RULES# to install the files (which is set up by YELP_HELP_INIT in configure.ac.)
Then, when the user clicks Help/Contents, they open the URI help:gedit or help:gedit/link_id with gtk_show_uri() (see here, in the functions gedit_app_show_help_impl() and gedit_app_help_link_id_impl()) The files are then, presumably, automatically fetched by the desktop help system, translated into the proper language, and displayed in Yelp.

Converting 'Current Location' Languages OR passing lon/lat

To whoever that can help,
My question comes from another topic # Open Maps app from Code - Where/How to find the "Current Location"?.
Did anyone successfully use the source code from martip # http://www.martip.net/blog/localized-current-location-string-for-iphone-apps with the ‘LocalizedCurrentLocation.zip’ file?
I've been trying but I'm not sure where I should place the example codes & how to 'call' the strings. I'm sorry for posting such newbie question but I have no where else to go~
I’ve been trying to work with it but I’m kinda lost. I’m not sure how to ‘call’ the localized string and use the ‘example usage’. I apologize for asking such a newbie question.
Please help me out here as I’m scratching my head over this matter. Anyone? Please~
Thanks in advance!^^
P/S: I'm actually trying to open iPhone maps from my app with directions from 'Current Location'. I know there are 2 ways of doing it; by CoreLocation (pass lon/lat) and replacing 'Current Location' with Strings BUT as I mention I'm a real beginner here and would appreciate it if anyone can advise & instruct me on which way is better & how to accomplish it. Btw, I'm using jquery and phonegap.
I have just completed the same task for current location. I came to know that, probably u also know that, we can't get current location in simulator. For just checking that is ur app working for location, u can add .gpx file and set ur current static location.
This is what I know...:)

Auto Redial using iphone app

Two questions actually.
First : I know iPhone is missing auto-redialing functionality but is there any other way to achieve it by iPhone application, as I can call by my application but facing problem cannot auto redial.
Second : Before calling I want to implement functionality of loud-speaker on a button action.
Is there any way to achieve the above 2 functionalities?
I spent 4-5 hours on googgling about it and the result is only this
I go through to apples doc and found some code hereand also tried this but cant get the right way to implement above functions ...
Any help would be greatly appreciated!
Thanks!!!
Neither of those actions are possible with the SDK.
For the Second case it's definitely NO.
But for the First case, I have no sure about this, but can be tried:
Subscribe with the CTCallCenter for call states notifications and use some background application type (voip, location or audio) or use some waiting block, that will allow to prevent going to suspended state as long as possible
Open URL using tel://
If the call notification about call failure comes in, try to repeat opening an URL
Once again, just an idea, may not work at all :/

JQT gotofunction problem

i am trying to use the goTo function to switch between different divs.
but in the function goTo(id,animation)
it is not going to that id.
Can anyone please help me with this problem.
Thanks,
Devan
This is difficult to diagnose without looking at your code. I have a few ideas, but it would be best if you were to share the problematic section of your code for others to investigate.
A few questions/ideas:
1) Check to ensure you have not used the same div ID more than once.
2) Have you been able to successfully use the goTo function at all?
3) Can you create a basic HTML page that uses this function successfully?
4) What version of jQTouch are you using? Does the goTo function work once, and then freeze every time afterwards? I reported a bug regarding this behavior a while ago. Not sure if it's been resolved yet, but you could see if an older version of jQTouch might help.
Again, without examples of your code... I'm taking wild guesses. Consider sharing the problematic section and someone might be able to pinpoint the issue.
Don't put animation, without animation worked for me...
eg..
jQT.goTo('#rest');