Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-20-2009, 02:06 PM   #1 (permalink)
Registered Member
 
DenVog's Avatar
 
Join Date: Jan 2009
Location: Silicon Valley, USA
Posts: 622
Question iPod Library Access - Allow Saves

Does anyone know if the new "iPod Library Access" feature will allow you to embed a music file in your app that can be saved to your iPhone iPod library, then sync it back to iTunes on your computer when you next attach? Kinda like you can do now with a photo saved to camera roll, then synced to iPhoto?
DenVog is offline   Reply With Quote
Old 05-20-2009, 03:13 PM   #2 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: Chennai
Age: 25
Posts: 124
Post

Quote:
Originally Posted by DenVog View Post
Does anyone know if the new "iPod Library Access" feature will allow you to embed a music file in your app that can be saved to your iPhone iPod library, then sync it back to iTunes on your computer when you next attach? Kinda like you can do now with a photo saved to camera roll, then synced to iPhoto?
Do you have any ideas for getting access to iPod library?
If you have any sample snippets, please share here!!
I am moving around this, for the past few days.

Best Regards,
Nagarajan T.
nagarajan is offline   Reply With Quote
Old 05-23-2009, 02:15 PM   #3 (permalink)
Registered Member
 
DenVog's Avatar
 
Join Date: Jan 2009
Location: Silicon Valley, USA
Posts: 622
Default

Quote:
Originally Posted by nagarajan View Post
Do you have any ideas for getting access to iPod library?
If you have any sample snippets, please share here!!
I am moving around this, for the past few days.

Best Regards,
Nagarajan T.
iPod Library Access is documented, but all I can find is read information. I'm looking for save and/or write.
DenVog is offline   Reply With Quote
Old 05-24-2009, 04:15 AM   #4 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: Chennai
Age: 25
Posts: 124
Default

Quote:
Originally Posted by DenVog View Post
iPod Library Access is documented, but all I can find is read information. I'm looking for save and/or write.
Thank you for your response.
I think none of us worked it out.
Hope Apple may guide us with a simple example for this new 3.0 feature.

Best Regards,
Nagarajan T.
nagarajan is offline   Reply With Quote
Old 05-24-2009, 06:06 PM   #5 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 355
Default

There's no write support.

Knowing Apple, they'll have no intentions of adding write access. Sorry
Bucky is offline   Reply With Quote
Old 05-24-2009, 06:20 PM   #6 (permalink)
Registered Member
 
DenVog's Avatar
 
Join Date: Jan 2009
Location: Silicon Valley, USA
Posts: 622
Default

Quote:
Originally Posted by Bucky View Post
There's no write support.

Knowing Apple, they'll have no intentions of adding write access. Sorry
Bummer. Guess it didn't hurt to ask. Thanks for your response Bucky.
DenVog is offline   Reply With Quote
Old 07-07-2011, 06:44 AM   #7 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 1
Default ipod access library

i tried to read the apple doc but ended up into many errors:
heres what i did

Following is what i have done so far:

MPMediaQuery *media_artsist = [[MPMediaQuery alloc] init];
[media_artsist setGroupingType: MPMediaGroupingArtist];
collections = [media_artsist collections];

So when i log
NSLog(@"-------- %@",collections);

i get:
(
"<MPConcreteMediaItemCollection: 0x2de330>",
"<MPConcreteMediaItemCollection: 0x2de5b0>",
"<MPConcreteMediaItemCollection: 0x2de1a0>",
"<MPConcreteMediaItemCollection: 0x2de750>"
)


But when i try to display it on tableview i get a error:

- (UITableViewCell *)tableViewUITableView *)tableView cellForRowAtIndexPathNSIndexPath *)indexPath {

static NSString *MyIdentifier = @"MyIdentifier";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithFrame:CGRectMake(0,0,0,0) reuseIdentifier:MyIdentifier] autorelease];
cell.selectionStyle = UITableViewCellSelectionStyleNone;
cell.accessoryType = UITableViewCellAccessoryCheckmark;

cell.textLabel.text =[collections objectAtIndex:indexPath.row]; //objectForKey:@"title"]; //

}
return cell;

}


error is:
2011-07-07 10:38:50.242 FSDSClient[1033:707] -[MPConcreteMediaItemCollection isEqualToString:]: unrecognized selector sent to instance 0x2e2c30
2011-07-07 10:38:50.294 FSDSClient[1033:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MPConcreteMediaItemCollection isEqualToString:]: unrecognized selector sent to instance 0x2e2c30'
terminate called after throwing an instance of 'NSException'
epita is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone, itunes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 309
19 members and 290 guests
ADY, AragornSG, BrianSlick, Dani77, Dattee, dre, glenn_sayers, HDshot, HemiMG, JasonR, karlam963, prchn4christ, Rudy, spiderguy84, themathminister, tomtom100, viniciusdamone, vogueestylee, vvenkatachallam
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,884
Threads: 89,229
Posts: 380,763
Top Poster: BrianSlick (7,129)
Welcome to our newest member, karlam963
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:18 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0