Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Otto Wichmann
Otto Wichmann
4,827 Points

Not quite done yet.

I've recently created my first app (Create a simple IOS app) and although I am very happy with it I don't feel like I am ready to take the next course yet.

Before I build the blog reader app I want to dominate the concepts taught to us in CrystalBall app tutorial.

Can we add sound to our app?? Like a "wooshhh" effect of some kind. If I create that file by myself how can call it into my program. And I was wondering if there is a way I could use Voice recognition for better interaction. I used the Xcode organizer to look up this methods but I wasn't sure on how to implement them. Can we relay what the ball says to our Facebook? So it would say something like "For otto the future is uncertain, said the crystallball app"

Maybe this isn't the place to ask this things. But if it is I'll take any advice that will allow me to have a fully functional app with all the bells and whistles .

Another issue I am running into is that when I tilt the phone the crystalBall doesn't tilt with the phone, it just crops itself and displays a lot of white space. I feel like the app could be so much more than what it is. I understand it is a "Hello world" type of deal but still.

Alright thats it for now. I look forward to hearing from all of you.

Otto.

Andrew Pritykin
Andrew Pritykin
6,574 Points

These are great ideas to add to a simple application and gain a better understanding on integrating other media and API's.

I personally do not know how to do this in iOS but would love to find out (also for Android).

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Otto Wichmann, those are some great ideas! The absolute best way to learn is to just try doing it. Tackle one feature at a time and stop by here in the Forum if you get stuck. Adding a sound is a great place to start, so I'd take a look at the link Ty provided. Here's a link to the sound we use in the Android version of the app if you want to use that:

[crystal_ball.mp3]

Otto Wichmann
Otto Wichmann
4,827 Points

oh brilliant ! well I'll give this a go and then I'll post the results here in the forums!

Cheers, Otto

Adding a sound on each button click is relatively simple. Here is a good little demonstration that can be adapted to the Crystal Ball app : http://stackoverflow.com/questions/11888059/how-can-i-add-sound-to-a-button-in-ios.

I would just start the next course. Maybe go through just the videos first then go back a second time and do the exercises / write out the code. By watching the videos the first time without worrying about specifics, you are able to understand the bigger picture so that during your second pass through you are free to focus on more specific code examples.

Otto Wichmann
Otto Wichmann
4,827 Points

Ty lacock, thanks for the link. I'll add sound to my app and then I'll start the next course.

Cheers,

Otto