I've searched around a bit in the small amount of iPhone/iPod Touch development information available and couldn't find anything for or against. Can an application find out information about currently playing song on iPhone/iPod Touch? Since the music can continue to play while you are in 3rd party applications, is there a function or library that will give you information about what is playing? (Track, Artist, Album, etc.) I know generally that applications are sand-boxed but thought maybe there was a way.
Can an application find out information about currently playing song on iPhone/iPod Touch? [closed]
Asked Answered
If you aren't planning to put your app on the App Store you can import MobileMusicPlayer.h as seen in this example application: song-info
edit: Interacting with the iPod application is now part of the iPhone OS 3.0 SDK
Apple is pretty tight about allowing access to anything having to do with media (other than that provided by you) on the device. I've not found a way to do this.
If you aren't planning to put your app on the App Store you can import MobileMusicPlayer.h as seen in this example application: song-info
edit: Interacting with the iPod application is now part of the iPhone OS 3.0 SDK
© 2022 - 2024 — McMap. All rights reserved.