Android apps are written in two languages. One is a version of XML that is used to create user interfaces for Android mobile devices and the other is the Java code that provides the programmed action. Java is a very widely used programming language and comes in several varieties, or frameworks. There is Java for desktops, Java for web servers, and Java for Android mobile devices.
The easiest way to learn how to code is to use the MIT Scratch programming software. You can write Scratch programs online by registering on the MIT website. Then you can share your work with a global community of Scratchers. Or, if you prefer to code offline, you can download the Scratch 2 version and upload your work to the website if and when you feel like it.