Home | History | Annotate | Download | only in backup
      1 page.title=Register for Android Backup Service
      2 excludeFromSuggestions=true
      3 @jd:body
      4 
      5 
      6 <p>If you are developing an Android application that supports <a
      7 href="http://developer.android.com/guide/topics/data/backup.html">data backup</a>, you must
      8 register your application with Android Backup Service in order to backup your app's data
      9 using the backup transport provided by Google. Registering your app provides you a Backup
     10 Service Key that verifies your application and allows backup when
     11 Android Backup Service is available on the user's device. Registration with Android Backup Service
     12 is free.</p>
     13 
     14 <p>A single Backup Service Key is valid for only the application with which you register using the
     15 form below. If you have multiple applications for which you would like a Backup Service Key, then
     16 you must register each application to receive a unique Backup Service Key for each one.</p>
     17 
     18 <p>For more information about developing with Android Backup Service, read the <a
     19 href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> guide.</p>
     20 
     21 <p>Before you can register with Android Backup Service,
     22 you must agree to the following terms of service.</p>
     23 
     24 
     25 
     26 
     27 <div class="sdk-terms" onfocus="this.blur()" style="width:678px"
     28 ><h2 class="norule">Terms of Service</h2>
     29 This is the terms of service for the Android Backup Service.
     30 
     31 <h3>1. Your relationship with Google</h3>
     32 1.1 Your use of the Android Backup Service (referred to as the &quot;Service&quot; in this document) is subject to the terms of a legal agreement between you and Google. &quot;Google&quot; means Google Inc., whose principal place of business is at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. This document explains how the agreement is made up, and sets out some of the terms of that agreement.
     33 
     34 1.2 Unless otherwise agreed in writing with Google, your agreement with Google will always include, at a minimum, the terms and conditions set out in this document. These are referred to below as the &quot;Terms&quot;.
     35 
     36 1.3 The Terms form a legally binding agreement between you and Google in relation to your use of the Service. It is important that you take the time to read them carefully.
     37 
     38 <h3>2. Accepting the Terms</h3>
     39 2.1 In order to use the Service, you must first agree to the Terms. You may not use the Service if you do not accept the Terms.
     40 
     41 2.2 You can accept the Terms by clicking to accept or agree to the Terms, where this option is made available to you by Google.
     42 
     43 2.3 You may not use the Service and may not accept the Terms if you are not of legal age to form a binding contract with Google.
     44 
     45 2.4 You represent that you have full power, capacity and authority to accept these Terms. If you are accepting on behalf of your employer or another entity, you represent that you have full legal authority to bind your employer or such entity to these Terms. If you don't have the legal authority to bind, please ensure that an authorized person from your entity consents to and accepts these Terms.
     46 
     47 <h3>3. Provision of the Service by Google</h3>
     48 3.1 Google has subsidiaries and affiliated legal entities around the world (&quot;Subsidiaries and Affiliates&quot;). Sometimes, these companies will be providing the Service to you on behalf of Google itself. You acknowledge and agree that Subsidiaries and Affiliates will be entitled to provide the Service to you.
     49 
     50 3.2 Google is constantly innovating in order to provide the best possible experience for its users. You acknowledge and agree that the form and nature of the Service which Google provides may change from time to time without prior notice to you.
     51 
     52 3.3 As part of this continuing innovation, you acknowledge and agree that Google may stop (permanently or temporarily) providing the Service (or any features within the Service) to you or to users generally at Google's sole discretion, without prior notice to you. You may stop using the Service at any time. You do not need to specifically inform Google when you stop using the Service.
     53 
     54 3.4 You acknowledge and agree that if Google disables your Backup Service Key, you and the Android application(s) you developed (&quot;Application(s)&quot;) may be prevented from accessing the Service and any content that is stored with the Service.
     55 
     56 3.5 You acknowledge and agree that Google may set a fixed upper limit on the number of backup transmissions you may send or receive through the Service or on the amount of storage space used for the provision of the Service at any time, at Google's discretion. You agree to abide by any such fixed upper limits.
     57 
     58 <h3>4. Use of the Service by you</h3>
     59 4.1 In order to access the Service, you must have a unique application identifier (&quot;Package Name&quot;) for your Application as described in the documentation for the Service.
     60 
     61 4.2 After supplying Google with the Package Name and accepting the Terms, you will be issued an alphanumeric key (&quot;Backup Service Key&quot;) assigned to you by Google that is uniquely associated with your Application. Your Application must include this Backup Service Key as described in the documentation for the Service.
     62 
     63 4.3 There is currently no limit to the number of Backup Service Keys you may obtain in this manner provided that you use a different Package Name for each Backup Service Key you obtain. You agree that each Backup Service Key is only valid for Applications with the corresponding Package Name. You agree that Google may, in its sole discretion, impose a limit on the number of Backup Service Keys that may be obtained in the future. You agree that your continued use of any of the Backup Service Keys assigned by Google, or distribution of any Applications using such Backup Service Keys, constitutes your continued agreement to these Terms.
     64 
     65 4.4 You agree to use the Service only for purposes that are permitted by (a) the Terms and (b) any applicable law, regulation, third-party terms of service, or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
     66 
     67 4.5 You agree not to access (or attempt to access) any of the Service by any means other than through the interfaces, methods, and APIs that are provided by Google, unless you have been specifically allowed to do so in a separate agreement with Google.
     68 
     69 4.6 You agree that you will not engage in any activity that interferes with or disrupts the Service (or the servers and networks which are connected to the Service), or the servers or networks of any third-party.
     70 
     71 4.7 You agree that your use of the Service will be in compliance with any documentation guidelines provided by Google and that failure to comply with the documentation guidelines may result in the disabling of the Backup Service Key(s) for your Application(s).
     72 
     73 4.8 Unless you have been specifically permitted to do so in a separate agreement with Google, you agree that you will not reproduce, duplicate, copy, sell, trade or resell (a) use of the Service, or (b) access to the Service.
     74 
     75 4.9 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) your and your Application's use of the Service, any breach of your obligations under the Terms, and for the consequences (including any loss or damage which Google may suffer) of any such breach.
     76 
     77 4.10 You agree that in your use of the Service, you and your Applications will protect the privacy and legal rights of users. You must provide legally adequate privacy notice and protection for users whose data your Applications back up to the Service. Further, your Application may only use that information for the limited purpose of backing up the data to the Service unless the user has given you permission for further use. If the user has not given you permission to back up information to the Service, you may not transmit such information to the Service.
     78 
     79 4.11 You agree that you and your Applications will not transmit or store sensitive user information, such as user names, passwords, or credit card numbers, through the Service.
     80 
     81 <h3>5. Security</h3>
     82 5.1 You agree and understand that you are responsible for maintaining the security associated with any information you provide to access the Service as well as of the Backup Service Key(s) assigned to you by Google. You agree that only you are authorized to use the Backup Service Key(s) assigned to you.
     83 
     84 5.2 Accordingly, you agree that you will be solely responsible to Google for all activities that occur in connection with your access to the Service, as well as the Backup Service Key.
     85 
     86 5.3 If you become aware of any unauthorized use of your Backup Service Key(s) you agree to notify Google immediately.
     87 
     88 <h3>6. Privacy and your personal information</h3>
     89 6.1 For information about Google's data protection practices, please read Google's privacy policy at <a href="http://www.google.com/privacy.html">http://www.google.com/privacy.html</a>. This policy explains how Google treats your personal information when you use the Service.
     90 
     91 6.2 You agree to the use of your data in accordance with Google's privacy policies.
     92 
     93 <h3>7. Content in the Service</h3>
     94 7.1 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any Content that you or your Applications transmit or store through the Service and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. You agree that you are solely responsible for (A) any Content that is transmitted through the Service by your Applications, and (B) any Content that Devices retrieve from the Service by virtue of your Applications. For purposes of the Terms, &quot;Content&quot; means information such as data, messages, settings information, written text, computer software, music, audio files or other sounds, photographs, videos or other images. &quot;Device(s)&quot; means device(s) powered by the Android operating system.
     95 
     96 7.2 You agree that you will not transmit any Content through the Service that is copyrighted, protected by trade secret or otherwise subject to third party proprietary rights, including patent, privacy and publicity rights, unless you are the owner of such rights or have permission from their rightful owner to transmit the Content through the Service.
     97 
     98 <h3>8. Proprietary rights</h3>
     99 8.1 You acknowledge and agree that Google (or Google's licensors) own all legal right, title and interest in and to the Service, including any intellectual property rights which subsist in the Service (whether those rights happen to be registered or not, and wherever in the world those rights may exist).
    100 
    101 8.2 Unless you have agreed otherwise in writing with Google, nothing in the Terms gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, and other distinctive brand features.
    102 
    103 8.3 If you have been given an explicit right to use any of these brand features in a separate written agreement with Google, then you agree that your use of such features shall be in compliance with that agreement, any applicable provisions of the Terms, and Google's brand feature use guidelines as updated from time to time. These guidelines can be viewed online at <a href="http://www.google.com/permissions/guidelines.html">http://www.google.com/permissions/ guidelines.html</a> (or such other URL as Google may provide for this purpose from time to time).
    104 
    105 8.4 You agree that you shall not remove, obscure, or alter any proprietary rights notices (including copyright, trade mark notices) which may be affixed to or contained within the Service.
    106 
    107 <h3>9. License from Google</h3>
    108 9.1 Subject to terms and conditions of these Terms, Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the Service as provided to you by Google. This license is for the sole purpose of enabling you to use and enjoy the benefit of the Service as provided by Google, in the manner permitted by the Terms. 
    109 
    110 9.2 You may not (and you may not permit anyone else to) copy, modify, create a derivative work of, reverse engineer, decompile or otherwise attempt to extract the source code from the Service or any part thereof, unless this is expressly permitted or required by law, or unless you have been specifically told that you may do so by Google, in writing.
    111 
    112 9.3 Unless Google has given you specific written permission to do so, you may not assign (or grant a sub-license of) your rights to use the Service, grant a security interest in or over your rights to use the Service, or otherwise transfer any part of your rights to use the Service.
    113 
    114 <h3>10. Your code</h3>
    115 10.1 Google claims no ownership or control over any source code written by you to be used with the Service. You retain copyright and any other rights you already hold in this code, and you are responsible for protecting those rights, as appropriate.
    116 
    117 <h3>11. Ending your relationship with Google</h3>
    118 11.1 The Terms will continue to apply until terminated by either you or Google as set out below.
    119 
    120 11.2 You may terminate your legal agreement with Google by discontinuing your use of the Service at any time.
    121 
    122 11.3 Google may, at any time, terminate its legal agreement with you if:
    123 
    124   (A) you have breached any provision of the Terms (or have acted in manner which clearly shows that you do not intend to, or are unable to comply with the provisions of the Terms); or
    125 
    126   (B) Google is required to do so by law (for example, where the provision of the Service to you is, or becomes, unlawful); or
    127 
    128   (C) Google is transitioning to no longer providing the Service; or
    129 
    130   (D) your Application fails to meet the documentation guidelines provided by Google.
    131 
    132 11.4 Nothing in this Section shall affect Google's rights regarding provision of the Service under Section 3 of the Terms.
    133 
    134 11.5 When these Terms come to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the Terms have been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of Sections 12, 13 and Paragraph 16 shall continue to apply to such rights, obligations and liabilities indefinitely.
    135 
    136 <h3>12. EXCLUSION OF WARRANTIES</h3>
    137 12.1 NOTHING IN THESE TERMS, INCLUDING SECTIONS 12 AND 13, SHALL EXCLUDE OR LIMIT GOOGLE'S WARRANTY OR LIABILITY FOR LOSSES WHICH MAY NOT BE LAWFULLY EXCLUDED OR LIMITED BY APPLICABLE LAW. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES OR CONDITIONS OR THE LIMITATION OR EXCLUSION OF LIABILITY FOR LOSS OR DAMAGE CAUSED BY NEGLIGENCE, BREACH OF CONTRACT OR BREACH OF IMPLIED TERMS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES. ACCORDINGLY, ONLY THE LIMITATIONS WHICH ARE LAWFUL IN YOUR JURISDICTION WILL APPLY TO YOU AND OUR LIABILITY WILL BE LIMITED TO THE MAXIMUM EXTENT PERMITTED BY LAW.
    138 
    139 12.2 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SERVICE IS AT YOUR SOLE RISK AND THAT THE SERVICE AND CONTENT ARE PROVIDED &quot;AS IS&quot; AND &quot;AS AVAILABLE&quot;.
    140 
    141 12.3 IN PARTICULAR, GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS DO NOT REPRESENT OR WARRANT TO YOU THAT:
    142 
    143   (A) YOUR USE OF THE SERVICE WILL MEET YOUR REQUIREMENTS,
    144 
    145   (B) YOUR USE OF THE SERVICE WILL BE UNINTERRUPTED, TIMELY, SECURE OR FREE FROM ERROR, AND
    146 
    147   (C) THAT DEFECTS IN THE OPERATION OR FUNCTIONALITY OF ANY SOFTWARE PROVIDED TO YOU AS PART OF THE SERVICE WILL BE CORRECTED.
    148 
    149 12.4 NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM GOOGLE OR THROUGH OR FROM THE SERVICE SHALL CREATE ANY WARRANTY NOT EXPRESSLY STATED IN THE TERMS.
    150 
    151 12.5 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
    152 
    153 <h3>13. LIMITATION OF LIABILITY</h3>
    154 13.1 SUBJECT TO OVERALL PROVISION IN PARAGRAPH 12.1 ABOVE, YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU FOR:
    155 
    156   (A) ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES WHICH MAY BE INCURRED BY YOU, HOWEVER CAUSED AND UNDER ANY THEORY OF LIABILITY. THIS SHALL INCLUDE, BUT NOT BE LIMITED TO, ANY LOSS OF PROFIT (WHETHER INCURRED DIRECTLY OR INDIRECTLY), ANY LOSS OF GOODWILL OR BUSINESS REPUTATION, ANY LOSS OF DATA SUFFERED, COST OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICE, OR OTHER INTANGIBLE LOSS;
    157 
    158   (B) ANY LOSS OR DAMAGE WHICH MAY BE INCURRED BY YOU, INCLUDING BUT NOT LIMITED TO LOSS OR DAMAGE AS A RESULT OF:
    159 
    160     (I) ANY CHANGES WHICH GOOGLE MAY MAKE TO THE SERVICE, OR FOR ANY PERMANENT OR TEMPORARY CESSATION IN THE PROVISION OF THE SERVICE (OR ANY FEATURES WITHIN THE SERVICE);
    161 
    162     (II) THE DELETION OF, CORRUPTION OF, OR FAILURE TO STORE, ANY CONTENT AND OTHER COMMUNICATIONS DATA MAINTAINED OR TRANSMITTED BY OR THROUGH YOUR USE OF THE SERVICE;
    163 
    164     (III) YOUR FAILURE TO PROVIDE GOOGLE WITH ACCURATE ACCOUNT INFORMATION; OR
    165 
    166     (IV) YOUR FAILURE TO KEEP YOUR PASSWORD OR ACCOUNT DETAILS SECURE AND CONFIDENTIAL.
    167 
    168 13.2 THE LIMITATIONS ON GOOGLE'S LIABILITY TO YOU IN PARAGRAPH 13.1 ABOVE SHALL APPLY WHETHER OR NOT GOOGLE HAS BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
    169 
    170 <h3>14. Indemnification</h3>
    171 14.1 You agree to hold harmless and indemnify Google, and its subsidiaries, affiliates, officers, agents, employees, or licensors from and against any third party claim arising from or in any way related to (a) your breach of the Terms, (b) your use of the Service, or (c) your violation of applicable laws, rules or regulations in connection with the Service, including any liability or expense arising from all claims, losses, damages (actual and consequential), suits, judgments, litigation costs and attorneys' fees, of every kind and nature. In such a case, Google will provide you with written notice of such claim, suit or action.
    172 
    173 <h3>15. Changes to the Terms</h3>
    174 15.1 Due to things like changes to the law or changes to functionality offered through the Service, Google may need to change these Terms from time to time. You should look at the Terms regularly. We'll post notice of the modified Terms within, or through, the Service. Once the modified Terms are posted, the changes will become effective immediately, and you are deemed to have accepted the modified Terms if you continue to use the Service. If you do not agree to the modified Terms for the Service, please stop using the Service.
    175 
    176 <h3>16. General legal terms</h3>
    177 16.1 The Terms constitute the whole legal agreement between you and Google and govern your use of the Service (but excluding any service which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the Service.
    178 
    179 16.2 You agree that Google may provide you with notices, including those regarding changes to the Terms, by email, regular mail, or postings on the Service.
    180 
    181 16.3 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the Terms (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
    182 
    183 16.4 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of these Terms is invalid, then that provision will be removed from the Terms without affecting the rest of the Terms. The remaining provisions of the Terms will continue to be valid and enforceable.
    184 
    185 16.5 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the Terms and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the Terms which confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the Terms.
    186 
    187 16.6 The Terms, and your relationship with Google under the Terms, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the Terms. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
    188 </div>
    189 
    190 
    191 
    192 
    193 
    194 
    195 
    196 
    197 
    198 
    199 
    200 <div id="sdk-terms-form">
    201 <p>
    202 <input id="agree" type="checkbox" name="agreeTerms" value="1" onclick="onFormInput()">
    203 <label id="agreeLabel" for="agree">I have read and agree
    204 with the Android Backup Service Terms of Service</label>
    205 </p>
    206 <p>
    207 <label id="pnameLabel" for="pname">Application package name:</label>
    208 <input id="pname" type="text" name="pname" size="47" value="" onkeyup="onFormInput()"
    209 onfocus="boxFocusChanged(this,true)" onblur="boxFocusChanged(this,false)"/>
    210 </p>
    211 <p><a href="" class="button disabled" id="registerButton" 
    212 onclick="onRegister(); return false;" >Register with Android Backup Service</a></p>
    213 </div>
    214 
    215 
    216 <script type="text/javascript">
    217 
    218   var DEFAULT_TEXT = "com.example.android.app";
    219   $("#pname").attr('value', DEFAULT_TEXT);
    220   $("#pname").css({'color':'#aaaaaa'});
    221 
    222   function onRegister() {
    223     var packagename = $("#pname").val();
    224     if (packagename.match(/[\s]/)) {
    225         alert("Your package name cannot contain spaces. Please try again.");
    226     } else if ($("input#agree").is(':checked')
    227         && packagename.length
    228         && packagename != DEFAULT_TEXT) {
    229       window.location = "https://play.google.com/apps/publish/GetBackupApiKey?p=" +
    230                       encodeURIComponent(packagename);
    231     } else {
    232       $("label#agreeLabel,label#pnameLabel").parent().stop().animate({color: "#258AAF"}, 200,
    233         function() {$("label#agreeLabel,label#pnameLabel").parent().stop().animate({color: "#222"}, 200)}
    234       );
    235     }
    236   }
    237   
    238   function boxFocusChanged(obj, focused) {
    239     if (focused) {
    240       if(obj.value == DEFAULT_TEXT){
    241         obj.value = "";
    242         obj.style.color="#000000";
    243       }
    244     } else {
    245       if(obj.value == ""){
    246         obj.value = DEFAULT_TEXT;
    247         obj.style.color="#aaaaaa";
    248       }
    249     }
    250   }
    251   
    252   
    253   function onFormInput() {
    254     /* verify that the TOS is agreed and a bit version is chosen */
    255     var packagename = $("#pname").val();
    256     if ($("input#agree").is(":checked")
    257         && packagename.length
    258         && packagename != DEFAULT_TEXT) {      
    259       /* reveal the button */
    260       $("a#registerButton").removeClass('disabled');
    261     } else {
    262       $("a#registerButton").addClass('disabled');
    263     }
    264   }
    265 
    266 </script>
    267 
    268 
    269   </div><!-- end terms -->
    270 </form>
    271