asfman
android developer
posts - 90,  comments - 213,  trackbacks - 0

So you’ve created an Android app, put it in the Android Market, and now you  want to promote it.  But how do you link to Android apps from a webpage, email, twitter, or whatever, to your app’s listing in the market?  It’s actually quite easy–it’s only slightly different that a normal hyperlink.  One thing to note, however, is that when you click on an Android Market link, it will not work from the browser on you computer, it can only be tested on your Android device.

Anyway, there a several ways to create Android Market Links, and they are the following:

  • Linking Directly to the App Listing
  • Searching by its Java Package Name
  • Searching by Developer Name
  • Searching by Keyword
  • Searching with a Combination of Parameters


Linking Directly to the App Listing
 is the most direct way to get a visitor at your website to find your app in the market.  This method requires you to know the Java package name of you app and looks like the following:

http://market.android.com/details?id=<packagename>
- or -
market://details?id=<packagename>

For example:

http://market.android.com/details?id=net.kgmoney.TalkingCallerID
- or -
market://details?id=
net.kgmoney.TalkingCallerID


Searching by its Java Package Name
 is basically the same as a direct Android Market link as described above, except that it will take the user to a search results page first, where they will have to choose you app.  I’m not really sure why this would be used in place of a direct market link, but it is done like this:

http://market.android.com/search?q=pname:<package>
- or -
market://search?q=pname:<package>

For example:

http://market.android.com/search?q=pname:net.kgmoney.TalkingCallerID
- or -
market://search?q=pname:net.kgmoney.TalkingCallerID


Searching by Developer Name
 is a slightly more general way to link to Android apps in that it will show a results page listing all the apps developed by a given developer.  This is very useful if you would like to show existing users what else you have to offer.  Here’s how to do it:

http://market.android.com/search?q=pub:<Developer Name>
- or -
market://search?q=pub:<Developer Name>

For example:

http://market.android.com/search?q=pub:kgmoney.net
- or -
market://search?q=pub:
kgmoney.net


Searching by Keyword
 makes your link even more general, allowing you to direct the user to a list of apps relating to your selected keyword.  This is how it works:

http://market.android.com/search?q=talking caller id
- or -
market://search?q=<substring>

For example:

http://market.android.com/search?q=talking caller id
- or -
market://search?q=talking caller id


Searching with a Combination of Parameters
 simply combines the above search links.  This is done as follows:

http://market.android.com/search?q=<substring> pname:<package>pub:<Developer Name>

For example:

http://market.android.com/search?q=talking caller idpname:net.kgmoney.TalkingCallerID pub:kgmoney.net

And there you have it.  Start linking to your apps with Android Market links!

@import url(http://www.cnitblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
posted on 2012-09-18 16:08 汪杰 阅读(227) 评论(0)  编辑 收藏 引用 所属分类: Java
只有注册用户登录后才能发表评论。

<2024年11月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

常用链接

留言簿(15)

随笔分类(1)

随笔档案(90)

文章分类(727)

文章档案(712)

相册

收藏夹

http://blog.csdn.net/prodigynonsense

友情链接

最新随笔

搜索

  •  

积分与排名

  • 积分 - 467490
  • 排名 - 6

最新随笔

最新评论

阅读排行榜

评论排行榜