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 04-07-2009, 08:39 PM   #1 (permalink)
Registered Member
 
DenVog's Avatar
 
Join Date: Jan 2009
Location: Silicon Valley, USA
Posts: 622
Question Save Sound to iPod Library

Is it possible to include a sound file in an iPhone application that the user can then save and play back on their iPod? Ultimately synching the file to their iTunes library when the get back to their computer?

I have done something similar with images (e.g. include a photo that gets saved to the camera roll, that the user can then email, wallpaper, mobileme, or sync with iPhoto. I want to do the same thing but with a music file. Have done some searching but don't see any examples.

Was hoping to find the audio equivalent of UIImageWriteToSavedPhotosAlbum

Thanks for any pointers

Last edited by DenVog; 04-07-2009 at 08:53 PM. Reason: corrected typo
DenVog is offline   Reply With Quote
Old 04-10-2009, 11:30 AM   #2 (permalink)
Registered Member
 
DenVog's Avatar
 
Join Date: Jan 2009
Location: Silicon Valley, USA
Posts: 622
Default

Quote:
Originally Posted by DenVog View Post
Is it possible to include a sound file in an iPhone application that the user can then save and play back on their iPod? Ultimately synching the file to their iTunes library when the get back to their computer?
Should I assume by the lack of responses that this isn't possible? I'm not asking anyone to code it for me, but I would appreciate a link to any examples or documentation that covers this. I can't find anything!

Thanks.
DenVog is offline   Reply With Quote
Old 04-10-2009, 11:59 AM   #3 (permalink)
[self setSkills: ∞];
 
Join Date: Dec 2008
Age: 28
Posts: 111
Default

I'm about 99% certain that you can't save sound files to the iPod library, even with the 3.0 SDK. 3.0 gives you read access to play the files, but not write access.
__________________
Want a free copy of my MMS app? http://www.iphonedevsdk.com/forum/pr...plication.html
cjpearl is offline   Reply With Quote
Old 03-11-2010, 11:37 AM   #4 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 2
Default

Quote:
Originally Posted by DenVog View Post
Should I assume by the lack of responses that this isn't possible? I'm not asking anyone to code it for me, but I would appreciate a link to any examples or documentation that covers this. I can't find anything!

Thanks.
Hi DenVog,

I also got the same problem with saving music files into ipod library. I have discussed this problem with some of my classmates, they all told me that we probably do not have the access. Have you found any clues recently? I am affiliated with a course project this semester and have to give a mid term presentation after the spring break. So really need some help on that.
Thanks a lot in advance!
nestle001 is offline   Reply With Quote
Old 03-11-2010, 11:51 AM   #5 (permalink)
Obj-C Learner
 
Join Date: Apr 2009
Location: Manchester, UK
Posts: 1,030
Send a message via MSN to ZunePod Send a message via Yahoo to ZunePod
Default

You can do it, but all your users will have to be jailbroken.

Basically, music file are stored in iTunes_Control/Music in folders named f1 to f50.

All the music files are given a random 4 letter name and then this data is put into a plist with the meta stuff included.

You'll have to do a lot of research anyway!
__________________
Will code for food
ZunePod is offline   Reply With Quote
Old 03-11-2010, 11:52 AM   #6 (permalink)
Registered Member
 
DenVog's Avatar
 
Join Date: Jan 2009
Location: Silicon Valley, USA
Posts: 622
Default

Quote:
Originally Posted by nestle001 View Post
Hi DenVog,

I also got the same problem with saving music files into ipod library. I have discussed this problem with some of my classmates, they all told me that we probably do not have the access. Have you found any clues recently? I am affiliated with a course project this semester and have to give a mid term presentation after the spring break. So really need some help on that.
Thanks a lot in advance!
The best of my knowledge you can only write files to the Documents directory within your application's sandbox. I've not found any documentation, or applications examples for that matter, that have indicated otherwise.
DenVog is offline   Reply With Quote
Reply

Bookmarks

Tags
audio, ipod, music, save, sound

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: 242
13 members and 229 guests
2WeeksToGo, ADY, BrianSlick, Dani77, Dattee, headkaze, kapps11, mer10, mgon987, sneaky, timle8n1, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,879
Threads: 89,228
Posts: 380,744
Top Poster: BrianSlick (7,129)
Welcome to our newest member, mgon987
Powered by vBadvanced CMPS v3.1.0

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