18

When posting app links, I'm always using a link on Cyrket or AppBrain -- becuase I can't get a link to anything in the official Android Market.

But I have seen some links out there for use w/ Android itself ( ''market://'' protocol ):

market://details?id=de.schildbach.oeffi

(as seen @ Android Dev Studio)

Is it possible to web-link to apps in the Market so that a non-Android user can link to the appropriate Market page in a non-Android web browser?

Bryan Denny
  • 21,906
  • 20
  • 78
  • 98
Michael Paulukonis
  • 3,622
  • 4
  • 27
  • 31
  • 1
    This question is being marked as duplicate of a closed question, that in turn mentions this one as duplicate (infinite cycle)! – Zuul Jul 15 '13 at 11:00

2 Answers2

12

If you are talking about making a link that goes directly to the app in the market on an Android device, yes, just append the Package Name to the market://details?id= or market://search?q=pname: to create the link. In your example above the Package Name is: de.schildbach.oeffi.

If you don't know the package name you can get it from AndroLib. It's a pain because their pages are so busy but if you can't find it just do a text search for "Package Name."

Just to be clear this link format only works when clicked on and Android Market enabled device.


Update: Yes. You now access the full Android Market on the website, and when you use the link format that therefromhere mentions in his answer (with http://market...), users clicking it on their phone will be brought to app in the market and users clicking on it on the web will be brought to the app's market web page.

Edit: No. The Android Market can only be accessed on Android Devices (more specifically only Android Devices with the Android Market Enabled).

Matt
  • 19,341
  • 11
  • 82
  • 125
5

It's worth noting that you don't have to use the market:// protocol - you can swap in http://market.android.com/ instead of market://.

eg these two links should have the same effect:

Unfortunately, this currently isn't quite as useful as it could be since a non-Android browser will just get a 404 from the http:// link, but I imagine if Google wanted to they could give you a useful page instead.

See the Publishing Your Applications page in the Android developer guide for more details.

therefromhere
  • 1,287
  • 2
  • 12
  • 18
  • Also, some websites (like this one apparently) will automatically linkify the first one, but not the second. – Tyler Sep 26 '10 at 22:28