diff options
| -rw-r--r-- | docs/html/guide/publishing/publishing.jd | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/html/guide/publishing/publishing.jd b/docs/html/guide/publishing/publishing.jd index dd1115d7bf1d..0cbba53b3795 100644 --- a/docs/html/guide/publishing/publishing.jd +++ b/docs/html/guide/publishing/publishing.jd @@ -259,16 +259,17 @@ site:</p> </p> <p>The <code><query></code> is a placeholder for the search query to execute in Android -Market. The query can be a raw text string or you can include parameters that perform a search -based on the publisher name or application package name:</p> +Market. The query can be a raw text string or you can include a parameter that performs a search +based on the publisher name:</p> <ul> - <li>To search based on the publisher name, use the {@code pub:} parameter: + <li>To perform a raw text search, append the query string: + <p><code><URI_prefix><b>search?q=</b><search_query></code></p></li> + + <li>To search based on the publisher name, use the {@code pub:} parameter in the query, followed +by the publisher name: <p><code><URI_prefix><b>search?q=pub:</b><publisher_name></code></p> <p>You can use this type of search to show all of your published applications.</p></li> - - <li>To search based on the package name, use the {@code pname:} parameter: - <p><code><URI_prefix><b>search?q=pname:</b><package_name></code></p></li> </ul> @@ -279,7 +280,7 @@ based on the publisher name or application package name:</p> <p style="margin-left:2em"><code>market://search?q=<query></code></p> -<p>The query may include the {@code pub:} or {@code pname:} parameters described above.</p> +<p>The query may include the {@code pub:} parameter described above.</p> <p>For example, here's how you can initiate a search in the Android Market application, based on the publisher name:</p> @@ -290,6 +291,9 @@ intent.setData(Uri.parse("market://search?q=pub:Your Publisher Name")); startActivity(intent); </pre> +<p>The search result shows all applications published by the publisher and which are compatible with +the current device.</p> + <h4>Searching the Android Market web site</h4> @@ -300,7 +304,7 @@ format:</p> <code>http://market.android.com/search?q=<query></code> </p> -<p>The query may include the {@code pub:} or {@code pname:} parameters described above.</p> +<p>The query may include the {@code pub:} parameter described above.</p> <p>For example, here's a link that initiates a search on the Android Market web site, based on the publisher name:</p> @@ -309,6 +313,8 @@ publisher name:</p> <a href="http://market.android.com/search?q=pub:Your Publisher Name">Search Link</a> </pre> +<p>The search result shows all applications published by the publisher.</p> + <h3 id="UriSummary">Summary of URI formats</h3> @@ -341,11 +347,5 @@ the web and in the Android application), as discussed in the previous sections.< <td><nobr><code>market://search?q=pub:<publisher_name></code></nobr></td> </tr> -<tr> -<td>Search for an application by its fully qualified package name</td> -<td><code>http://market.android.com/search?q=pname:<package_name></code></td> -<td><code>market://search?q=pname:<package_name></code></td> -</tr> - </table> |