Linking to album in Google Play Music store?

I’m featuring a friend’s music in my next game, and I’d like to show a message that says, “Like the music? Get it on Google Play”, which when tapped would open up the page for that particular album on the Play store. I know how to do this for an app with native.showPopup , but that requires a package name, and I’m not sure music albums have package names. Anyone know how to accomplish this?

I’m using the Starter (free) version of Corona.

You will probably have to use system.openURL() to open the page.  The URL structure for music and apps is different.  There is a query string parameter at the end which you could try.  For instance for one of Katy Perry’s albums this is:  ?id=Byp3z7ylde5lubnwzrlcc6ixpyu.  For apps its ?id=com.yourcompany.yourapp so native.showPopup might work, but I suspect you will need to do the system.openURL() call.

Rob

You will probably have to use system.openURL() to open the page.  The URL structure for music and apps is different.  There is a query string parameter at the end which you could try.  For instance for one of Katy Perry’s albums this is:  ?id=Byp3z7ylde5lubnwzrlcc6ixpyu.  For apps its ?id=com.yourcompany.yourapp so native.showPopup might work, but I suspect you will need to do the system.openURL() call.

Rob