[iphone-java] MusicLibrary access
AdoubleU
iphone at AdoubleU.de
Sat Aug 9 08:35:56 UTC 2008
Hello,
Jay, do you plan to integrate classes for accessing the "MusicLibrary". Or
do you have a workaround for now?
Here you find a snipplet of how it works in native dev:
--
// Set up the music library
ml = [MusicLibrary sharedMusicLibrary];
// A blank query gets all tracks
MLQuery *q = [[MLQuery alloc] init];
// Choose a random one
int i = getrandom(0,[q countOfEntities]);
MLTrack *t = [q entityAtIndex:i];
--
Thanx,
Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.telesphoreo.org/pipermail/iphone-java/attachments/20080809/c766ba4d/attachment.htm
More information about the iPhone-Java
mailing list