1*d353a188SXin Li# How to become a contributor and submit your own code 2*d353a188SXin Li 3*d353a188SXin Li## Contributor License Agreements 4*d353a188SXin Li 5*d353a188SXin LiWe'd love to accept your sample apps and patches! Before we can take them, we 6*d353a188SXin Lihave to jump a couple of legal hurdles. 7*d353a188SXin Li 8*d353a188SXin LiPlease fill out either the individual or corporate Contributor License Agreement (CLA). 9*d353a188SXin Li 10*d353a188SXin Li * If you are an individual writing original source code and you're sure you 11*d353a188SXin Li own the intellectual property, then you'll need to sign an [individual CLA] 12*d353a188SXin Li (https://developers.google.com/open-source/cla/individual). 13*d353a188SXin Li * If you work for a company that wants to allow you to contribute your work, 14*d353a188SXin Li then you'll need to sign a [corporate CLA] 15*d353a188SXin Li (https://developers.google.com/open-source/cla/corporate). 16*d353a188SXin Li 17*d353a188SXin LiFollow either of the two links above to access the appropriate CLA and 18*d353a188SXin Liinstructions for how to sign and return it. Once we receive it, we'll be able to 19*d353a188SXin Liaccept your pull requests. 20*d353a188SXin Li 21*d353a188SXin Li## Contributing A Patch 22*d353a188SXin Li 23*d353a188SXin Li1. Submit an issue describing your proposed change to the repo in question. 24*d353a188SXin Li1. The repo owner will respond to your issue promptly. 25*d353a188SXin Li1. If your proposed change is accepted, and you haven't already done so, sign a 26*d353a188SXin Li Contributor License Agreement (see details above). 27*d353a188SXin Li1. Fork the desired repo, develop and test your code changes. 28*d353a188SXin Li1. Ensure that your code adheres to the existing style in the sample to which 29*d353a188SXin Li you are contributing. Refer to the 30*d353a188SXin Li [Android Code Style Guide] 31*d353a188SXin Li (https://source.android.com/source/code-style.html) for the 32*d353a188SXin Li recommended coding standards for this organization. 33*d353a188SXin Li1. Ensure that your code has an appropriate set of unit tests which all pass. 34*d353a188SXin Li1. Submit a pull request. 35*d353a188SXin Li 36