Loading docs/html/google/gcm/gs.jd +15 −13 Original line number Original line Diff line number Diff line Loading @@ -36,7 +36,7 @@ the Google Play Services SDK</a>. You need this SDK to use the <h2 id="create-proj">Creating a Google API project</h2> <h2 id="create-proj">Creating a Google API project</h2> <p>To create a Google API project:</p> <p>To create a Google API project:</p> <ol> <ol> <li>Open the <a href="https://cloud.google.com/console">Google Cloud Console</a>. <li>Open the <a href="https://cloud.google.com/console">Google Developers Console</a>. </li> </li> <li>If you haven't created an API project yet, click <strong>Create Project</strong>.</li> <li>If you haven't created an API project yet, click <strong>Create Project</strong>.</li> Loading @@ -60,25 +60,27 @@ project number. For example, <strong>Project Number: 670330094152</strong>.</p>< <h2 id="access-key">Obtaining an API Key</h2> <h2 id="access-key">Obtaining an API Key</h2> <p>To obtain an API key:</p> <p>To obtain an API key:</p> <ol> <ol> <li>In the sidebar on the left, select <strong>APIs & auth > Registered apps</strong>.</li> <li>In the sidebar on the left, select <strong>APIs & auth > Credentials</strong>.</li> <li>Click <strong>Register app</strong>. </li> <li>In the <strong>Name</strong> field, type your app's name.</li> <li>Under <strong>Public API access</strong>, click <strong>Create new key</strong>.</li> <li>Click <strong>Android > Accessing APIs directly from Android</strong>.</li> <li>Under <strong>Android identification</strong>, type the package name for your app.</li> <li>In the <strong>Create a new key</strong> dialog, click <strong>Android key</strong>.</li> <li>Enter an SHA1 fingerprint. To get this value, follow the instructions in the <li>In the resulting configuration dialog, supply one SHA1 fingerprint and the package name for your app, separated by a semicolon. For example, {@code 45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0;com.myexample}. <p>To get the value for the SHA1 fingerprint, follow the instructions in the <a href="http://developers.google.com/console/help/new/#installedapplications">console <a href="http://developers.google.com/console/help/new/#installedapplications">console help</a>.</li> help</a>.</p></li> <li>Click <strong>Register</strong>.</li> <li>Click <strong>Create</strong>.</li> <li>In the new page, open the <strong>Android Key</strong> section and copy the <li>In the refreshed page, copy the <a href="{@docRoot}google/gcm/gcm.html#apikey">API key</a>. <a href="{@docRoot}google/gcm/gcm.html#apikey">API key</a>. You will need the API key later on to perform authentication in your application server.</li> You will need the API key later on to perform authentication in your application server.</li> <p class="note"><strong>Note:</strong> If you need to rotate the key, click <p class="note"><strong>Note:</strong> If you need to rotate the key, click the "recycle key" icon. A new key will be created. If you think the key has been compromised <strong>Regenerate key</strong>. A new key will be created. If you think the key has been and you want to delete it immediately, you can accomplish this by deleting the app from compromised and you want to delete it immediately, click <strong>Delete</strong>.</p> the console. Then create a new entry for the app with the same SHA1 and package name.</p> </ol> </ol> <h2 id="next">Next Steps</h2> <h2 id="next">Next Steps</h2> Loading docs/html/google/play/billing/gp-purchase-status-api.jd +4 −3 Original line number Original line Diff line number Diff line Loading @@ -58,7 +58,7 @@ made with In-app Billing v1 or v2.</li> <p>The Purchase Status API is part of the <a <p>The Purchase Status API is part of the <a href="https://developers.google.com/android-publisher/v1_1/">Google Play Android href="https://developers.google.com/android-publisher/v1_1/">Google Play Android Developer API v1.1</a>, available through the Google Cloud Console. The new version Developer API v1.1</a>, available through the Google Developers Console. The new version of the API supersedes the v1 API, which is deprecated. If you are using the v1 of the API supersedes the v1 API, which is deprecated. If you are using the v1 API, please migrate your operations to the v1.1 API as soon as possible.</p> API, please migrate your operations to the v1.1 API as soon as possible.</p> Loading @@ -66,7 +66,7 @@ API, please migrate your operations to the v1.1 API as soon as possible.</p> <h2 id="using">Using the API</h2> <h2 id="using">Using the API</h2> <p>To use the API, you must first register a project at the <a <p>To use the API, you must first register a project at the <a href="https://cloud.google.com/console">Google Cloud Console</a> and receive href="https://cloud.google.com/console">Google Developers Console</a> and receive a Client ID and shared secret that your app will present when calling the a Client ID and shared secret that your app will present when calling the API. All calls are authenticated with OAuth 2.0.</p> API. All calls are authenticated with OAuth 2.0.</p> Loading Loading @@ -95,7 +95,8 @@ this section.</p> <p>If you need to request a higher limit for your application, see the <p>If you need to request a higher limit for your application, see the instructions in the <a instructions in the <a href="https://developers.google.com/console/help/new/#trafficcontrols">Google Cloud Console Help</a>. href="https://developers.google.com/console/help/new/#trafficcontrols">Google Developers Console Help</a>. Also, please read the section below on design best practices for minimizing your Also, please read the section below on design best practices for minimizing your use of the API.</p> use of the API.</p> Loading Loading
docs/html/google/gcm/gs.jd +15 −13 Original line number Original line Diff line number Diff line Loading @@ -36,7 +36,7 @@ the Google Play Services SDK</a>. You need this SDK to use the <h2 id="create-proj">Creating a Google API project</h2> <h2 id="create-proj">Creating a Google API project</h2> <p>To create a Google API project:</p> <p>To create a Google API project:</p> <ol> <ol> <li>Open the <a href="https://cloud.google.com/console">Google Cloud Console</a>. <li>Open the <a href="https://cloud.google.com/console">Google Developers Console</a>. </li> </li> <li>If you haven't created an API project yet, click <strong>Create Project</strong>.</li> <li>If you haven't created an API project yet, click <strong>Create Project</strong>.</li> Loading @@ -60,25 +60,27 @@ project number. For example, <strong>Project Number: 670330094152</strong>.</p>< <h2 id="access-key">Obtaining an API Key</h2> <h2 id="access-key">Obtaining an API Key</h2> <p>To obtain an API key:</p> <p>To obtain an API key:</p> <ol> <ol> <li>In the sidebar on the left, select <strong>APIs & auth > Registered apps</strong>.</li> <li>In the sidebar on the left, select <strong>APIs & auth > Credentials</strong>.</li> <li>Click <strong>Register app</strong>. </li> <li>In the <strong>Name</strong> field, type your app's name.</li> <li>Under <strong>Public API access</strong>, click <strong>Create new key</strong>.</li> <li>Click <strong>Android > Accessing APIs directly from Android</strong>.</li> <li>Under <strong>Android identification</strong>, type the package name for your app.</li> <li>In the <strong>Create a new key</strong> dialog, click <strong>Android key</strong>.</li> <li>Enter an SHA1 fingerprint. To get this value, follow the instructions in the <li>In the resulting configuration dialog, supply one SHA1 fingerprint and the package name for your app, separated by a semicolon. For example, {@code 45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0;com.myexample}. <p>To get the value for the SHA1 fingerprint, follow the instructions in the <a href="http://developers.google.com/console/help/new/#installedapplications">console <a href="http://developers.google.com/console/help/new/#installedapplications">console help</a>.</li> help</a>.</p></li> <li>Click <strong>Register</strong>.</li> <li>Click <strong>Create</strong>.</li> <li>In the new page, open the <strong>Android Key</strong> section and copy the <li>In the refreshed page, copy the <a href="{@docRoot}google/gcm/gcm.html#apikey">API key</a>. <a href="{@docRoot}google/gcm/gcm.html#apikey">API key</a>. You will need the API key later on to perform authentication in your application server.</li> You will need the API key later on to perform authentication in your application server.</li> <p class="note"><strong>Note:</strong> If you need to rotate the key, click <p class="note"><strong>Note:</strong> If you need to rotate the key, click the "recycle key" icon. A new key will be created. If you think the key has been compromised <strong>Regenerate key</strong>. A new key will be created. If you think the key has been and you want to delete it immediately, you can accomplish this by deleting the app from compromised and you want to delete it immediately, click <strong>Delete</strong>.</p> the console. Then create a new entry for the app with the same SHA1 and package name.</p> </ol> </ol> <h2 id="next">Next Steps</h2> <h2 id="next">Next Steps</h2> Loading
docs/html/google/play/billing/gp-purchase-status-api.jd +4 −3 Original line number Original line Diff line number Diff line Loading @@ -58,7 +58,7 @@ made with In-app Billing v1 or v2.</li> <p>The Purchase Status API is part of the <a <p>The Purchase Status API is part of the <a href="https://developers.google.com/android-publisher/v1_1/">Google Play Android href="https://developers.google.com/android-publisher/v1_1/">Google Play Android Developer API v1.1</a>, available through the Google Cloud Console. The new version Developer API v1.1</a>, available through the Google Developers Console. The new version of the API supersedes the v1 API, which is deprecated. If you are using the v1 of the API supersedes the v1 API, which is deprecated. If you are using the v1 API, please migrate your operations to the v1.1 API as soon as possible.</p> API, please migrate your operations to the v1.1 API as soon as possible.</p> Loading @@ -66,7 +66,7 @@ API, please migrate your operations to the v1.1 API as soon as possible.</p> <h2 id="using">Using the API</h2> <h2 id="using">Using the API</h2> <p>To use the API, you must first register a project at the <a <p>To use the API, you must first register a project at the <a href="https://cloud.google.com/console">Google Cloud Console</a> and receive href="https://cloud.google.com/console">Google Developers Console</a> and receive a Client ID and shared secret that your app will present when calling the a Client ID and shared secret that your app will present when calling the API. All calls are authenticated with OAuth 2.0.</p> API. All calls are authenticated with OAuth 2.0.</p> Loading Loading @@ -95,7 +95,8 @@ this section.</p> <p>If you need to request a higher limit for your application, see the <p>If you need to request a higher limit for your application, see the instructions in the <a instructions in the <a href="https://developers.google.com/console/help/new/#trafficcontrols">Google Cloud Console Help</a>. href="https://developers.google.com/console/help/new/#trafficcontrols">Google Developers Console Help</a>. Also, please read the section below on design best practices for minimizing your Also, please read the section below on design best practices for minimizing your use of the API.</p> use of the API.</p> Loading