Can an application find out information about currently playing song on iPhone/iPod Touch? [closed]
Asked Answered
E

2

7

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.

Engracia answered 24/10, 2008 at 21:49 Comment(0)
H
4

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

Hedy answered 25/10, 2008 at 11:30 Comment(0)
R
4

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.

Radiochemical answered 24/10, 2008 at 22:5 Comment(0)
H
4

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

Hedy answered 25/10, 2008 at 11:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.