iOS launch Music app?
-
I know I can launch the iTunes app from my own (itms-apps://)
What is the prefix for Apple's Music.app? I'd like to launch it from a
button.
Thanks,
Eric -
It's not listed here, but maybe this list will get you on the right path:
http://wiki.akosma.com/IPhone_URL_Schemes#Maps
On May 8, 2012, at 8:29 AM, Eric E. Dolecki wrote:
> I know I can launch the iTunes app from my own (itms-apps://)
>
> What is the prefix for Apple's Music.app? I'd like to launch it from a
> button.
>
> Thanks,
> Eric
-
Have you considered Scripting Bridge? You can use this to not only launch iTunes but also to do anything that can be done using the supported AppleScript interface.
-Michael
On May 8, 2012, at 17:38, Alex Zavatone <zav...> wrote:
> It's not listed here, but maybe this list will get you on the right path:
>
> http://wiki.akosma.com/IPhone_URL_Schemes#Maps
>
>
>
> On May 8, 2012, at 8:29 AM, Eric E. Dolecki wrote:
>
>> I know I can launch the iTunes app from my own (itms-apps://)
>>
>> What is the prefix for Apple's Music.app? I'd like to launch it from a
>> button.
>>
>> Thanks,
>> Eric
-
On May 8, 2012, at 5:53 PM, Michael Crawford wrote:
> Have you considered Scripting Bridge? You can use this to not only launch iTunes but also to do anything that can be done using the supported AppleScript interface.
Subject line says iOS.
--Kyle Sluder -
Oops. When I think iTunes, I think desktop. Sorry for the noise.
-Michael
On May 8, 2012, at 21:00, Kyle Sluder <kyle...> wrote:
> On May 8, 2012, at 5:53 PM, Michael Crawford wrote:
>
>> Have you considered Scripting Bridge? You can use this to not only launch iTunes but also to do anything that can be done using the supported AppleScript interface.
>
> Subject line says iOS.
>
> --Kyle Sluder
-
I guess I'll try "music:" and see what happens...
On Tue, May 8, 2012 at 9:03 PM, Michael Crawford <michaelacrawford...>wrote:
> Oops. When I think iTunes, I think desktop. Sorry for the noise.
>
> -Michael
>
> On May 8, 2012, at 21:00, Kyle Sluder <kyle...> wrote:
>
>> On May 8, 2012, at 5:53 PM, Michael Crawford wrote:
>>
>>> Have you considered Scripting Bridge? You can use this to not only
> launch iTunes but also to do anything that can be done using the supported
> AppleScript interface.
>>
>> Subject line says iOS.
>>
>> --Kyle Sluder
>
-
This works :)
NSString *stringURL = @"music:";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url]; -
Please don't rely on undocumented URL schemes. The current set of documented schemes can be found here: <http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Re
ference/Introduction/Introduction.html>.
As with all undocumented features, they are subject to change without warning.
On May 9, 2012, at 5:55 AM, Eric E. Dolecki wrote:
> This works :)
>
>
> NSString *stringURL = @"music:";
> NSURL *url = [NSURL URLWithString:stringURL];
> [[UIApplication sharedApplication] openURL:url];
--
David Duncan


