转自:http://android.kgmoney.net/2010/10/30/link-to-android-app-using-android-market-links/


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


1)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

2)Searching by its Java Package Name

s 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

3)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:<Developer Name>
- or -
market://search?q=pub:<Developer Name>

4)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

5)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 id pname:net.kgmoney.TalkingCallerID pub:kgmoney.net



更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android中使用Dialog风格弹出框的Activit
  2. Android(安卓)TextView设置个别字体样式
  3. Android联机开发Python
  4. ADB命令大全
  5. Android属性(android:gravity)的说明
  6. Android蓝牙开发浅谈
  7. Android(安卓)Drawable之GradientDrawabl
  8. 在Android中使用Lua脚本 —— Programing
  9. 为Android加入busybox工具
  10. [置顶] Activity的四种启动模式和onNewIn