Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chtown

macrumors newbie
Original poster
Mar 23, 2008
4
0
I got the iPhone SDK a few days ago. New to programming for the iPhone, but have worked w/ languages in the past. I'm using the pre-made list layout in Dashcode and what I want to accomplish should be simple for someone who knows what they're doing...and I'd appreciate any help I could get!

Here's what I want to do:

Have a 2 tiered menu system. First menu level is musician / band name. Second level is a list of the songs for said artist. Then when you click the song title, it just links to the .mp3 stored on the server and plays in the native qt app on the iphone. Simple. I just don't know how to accomplish this.

If anyone can give me any direction, I would appreciate it so very much! I've spent hours w/ the iphone dev site and looking online, and I can't find anything that is as direct as I'd like it to be. And please, no flaming...don't waste your or my time...

- Chase
 

admanimal

macrumors 68040
Apr 22, 2005
3,531
2
It is unclear to me whether you are trying to make a web app (i.e. a glorified web page that is made to be viewed on an iPhone) or a native iPhone application that accesses some data on a web server as part of its operation.
 

chtown

macrumors newbie
Original poster
Mar 23, 2008
4
0
Just a web app. In the iPhone SDK apple released the new version of dashcode and it has a list menu template for use w/ custom web apps. I just dont know how to go from the first level menu to the second, and then making the "onclick" event point to a website.
 

rendezvouscp

macrumors 68000
Aug 20, 2003
1,526
0
Long Beach, California
All you need to do is make a list in HTML with links to the files:

HTML:
<ul>
	<li>An artist
		<ul>
			<li><a href="song.mp3">A song</a></li>
			<li><a href="another-song.mp3">Another song</a></li>
		</ul>
	</li>
	<li>Another artist...</li>
</ul>

You'll need to style it how you want it with CSS (and you can probably just copy/paste the CSS from Dashcode). If you need any more help, I suggest you learn HTML and CSS (not to be an ass, but because it's not difficult if you've had experience in other languages).
 

chtown

macrumors newbie
Original poster
Mar 23, 2008
4
0
Thanks Everyone!

It seems I have it sorted now by editing iUI to fit my needs. Much appreciated everyone, I knew it was an easy resolution, I just didn't know how to get there! Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.