A web based jukebox as an iPhone app

Posted on 2012-09-06
Last Modified: 2012-09-10
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?

Question by:brucegust
    LVL 17

    Expert Comment

    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....

    Author Comment

    Cool. Is there a tutorial out there that can guide me through that building process?
    LVL 17

    Expert Comment

    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...

    Author Comment

    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?
    LVL 17

    Accepted Solution

    That shouldn't be a problem.

    You can just have a plist file hosted externally that says what files are currently available, the app can check that plist and then download the files that are listed in it.

    Two options for the iOS.
    Native or web based. Web based could work here for you as well but it will depend on what your client wants and also where your skills are based. Native apps tend to give a nicer a look and have the advantage that they can be used "offline"

    Author Comment

    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.


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Are you looking to clear some space on your phone for the latest iOS 8 update? Did you switch to Spotify so you no longer need to keep music native on your phone? Run out of space for taking photos while in the middle of vacation? Sometimes the quic…
    There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now