Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

A web based jukebox as an iPhone app

I want to build for my client an iPhone app that plays tunes grabbed from the internet. I just finished my first tutorial with xCode and I'm wanting to now start chipping away and what I imagine is going to be a formidable education.

Is there a template, or is there a starting point as far as how to take an already existing web application and tweak it so it's an iPhone app?

Thoughts?
Avatar of JohnGerhardt
JohnGerhardt
Flag of Switzerland image

Hi brucegast,

I haven't seen a web application that could help you and frankly I doubt that one would.

Writing a native iPhone app is different.

That said I don't think that you should have much problem with this.

The AV Foundation Framework makes it easy to play sounds through the SDK. You can just download the file to the iPhone and the play that file using the framework....
Avatar of Bruce Gust

ASKER

Cool. Is there a tutorial out there that can guide me through that building process?
There are lot of tutorials out there that will explain how to download a file from the internet and drop it in the sandboxed Documents directory.

If you want to make it really easy then I would recommend the ASIHTTPRequest Library, it is well documented and works great for downloading thinks to the phone.

Have a look on stackoverflow for info (great resource for the iPhone Dev)

Here is an example of how to play a sound file...

http://stackoverflow.com/questions/2483470/playing-sounds-in-iphone-sdk
Thing is, I need this app to pull from the web where I'll be updating the songs. In other words, this isn't a static collection of music. It's constantly changing. Is that a different animal than a native iPhone app?
ASKER CERTIFIED SOLUTION
Avatar of JohnGerhardt
JohnGerhardt
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yo, John!

Thanks so much for you counsel. I've been out to stackflow and have signed up and am eagerly awaiting some feedback.

In the interim, I want to appeal to you and ask if you could direct me to a tutorial that shows me how to import web based files into the plist and how to reproduce those in the iPhone environment. I'm having a hard time figuring out how my player is going to look, given the fact that I've always used a flash based mp3 player.

The reason I'm asking for you input, even in the context of a tutorial, is that I've been through more than one thinking it was going to demonstrate what I needed only to find out after 30 minutes into that it wasn't what I needed.

So, if you could point me in the right direction, based on what you know to be the specific skills that I require, I would very much appreciate it.

Thanks!