Code snippets are often not self explanatory. To understand how non-trivial code works, we sometimes need to RTFM, read Q&A’s and even follow tutorials.

Our mission at Codota is to help developers find, read and understand great code examples. When we show code, we want to do the best we can to help our users get a broader and deeper understanding of the subject. We took on ourselves to provide pointers to some of the most credible sources of knowledge for android developers:

What we really wanted, is to link to the right piece of content, directly from the source code snippet. To do that, we now analyze code snippets from all android related articles available on these resources and match them to code snippets we show in Codota. We use specialized code similarity metrics to determine the right content to link into. When browsing code in Codota, you can now consult “the textbook solution” and explore the related articles listed in the “Further Reading” box.

For example, see the related tutorials and Q&A for this code snippet:



We’d appreciate feedbacks and suggestions in comments or by email to




We’ve just added a cool feature to the livecode extension for Chrome: a layer with information about variables within android code snippet in StackOverflow.

It’s dead-simple:

  • Variables in the java code are links
  • Hover over a variable to get its type
  • Click a variable to find all references in the snippet



livecode var xref

Yes, all this from the browser for android code snippets in StackOverflow!

Get Codota livecode from the Chrome web store!


A new extension for Chrome, livecode by Codota, augments android code snippets within StackOverflow.

Livecode makes important Java source code elements interactive:

  • highlights calls to android APIs and shows their docs in neat bubbles
  • finds related real-world code examples from GitHub
  • warns when a deprecated API is used in the snippet




Codota livecode is available (for free) at the Chrome Web Store. It’s currently working in StackOverflow for android standard APIs.

Support for additional sites and platforms is on the way.

Try it!

See updated post