Home > how-to's > Launch a specific Pandora station with AppAlarm

Launch a specific Pandora station with AppAlarm

December 17, 2009 Leave a comment Go to comments

UPDATE: As of AppAlarm v1.1.3, these instructions are no longer necessary. To launch a specific Pandora station, just open AppAlarm, tap “App To Launch” and choose “Pandora Radio Station.” You will see a list of all your Pandora Favorites, just tap the one you want to launch and the custom intent will be created for you. However, I will leave these instructions up for anyone interested in learning about how Pandora handles intents.

First of all, you need to have both Pandora and AppAlarm (LITE or PRO) installed on your Android phone. If you’re reading this from your phone, you can get them from here and here (respectively).

To have AppAlarm launch a specific pandora station you’re going to have to set up a Custom Intent. But first you need to find the station id of the pandora station you want to launch. For now, the easiest way to do this is from you PC…

Goto Pandora.com and login…

Once you are logged in, click the “options” button for the station you want to id…

Then click “Edit”

A new window will open up (if it doesn’t check your pop-up blocker). This window is displaying the station id on the right hand side of the screen (you may have to scroll to the right). The station id is the series of numbers after the ‘sh’

After you’ve got the station id, grab your phone, open up AppAlarm and create a new alarm (or load up one of your old ones. Tap the “App To Launch” option…

Then tap “Custom Intent”

When filling in the custom intent you should leave the “Type” field empty. The “Action” and “Data” fields should be filled in like so…

Action: android.intent.action.VIEW

Data: content://com.pandora.provider/stations/{PUT THE STATION ID YOU FOUND EARLIER HERE}

(make sure you don’t include the curly braces)

You can press the “Test” button to see if the intent works, if it doesn’t check the ID number again (they’re really long) and make sure it’s in there correctly. I’m not sure if this will work with a station that you’re not already subscribed to but please feel free to post your results.

I know this is a little complex but I’m hoping to streamline the process in future versions of AppAlarm. But I wanted to put this out there to show that it’s possible.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: