Understanding Google Android Programming Terminology

Page content

Useful words


An Activity is a single screen of the User interface. This Activity can hold a hierarchy of views to give the UI the functionality it needs. For example, an email-application. We can have two Activities, one to list all the mails we have received (and to interact with them) and other Activity to write and send an email. Both Activities are related, but they work separately in their own.


A Service runs in the background, it doesn’t have UI. An example of Service can be a system that notifies the user when a sms or an email has been received in the mobile.

Content providers

With the content provider we can access to any data stored in the device form other applications or even form our applications. This data can be stored in files or is the SQLite database.


Layouts are containers of elements in the User Interface. Every time we define a .xml file with a specific user interface, we need to use this elements to hold hierarchy view tree. As I have wrote in other article, we can find different layouts kinds, depending its properties and relationship with the elements its holds. Layouts can be nested one inside other.


A View is a single object of the user interface. This Views are placed inside the Layouts and with them we can create from the most simplest UI to the most complex one. Android give us the choice to work with XML to create UI, this is a good way to separate functionality from User Interface. Views can be Images (ImageView), Text (TextView)…

Events (On click, onTouch)

We have to define the events listeners to capture this events.

An Event is something that happens form the “outside”, is something we don’t control, something we don’t know when its going to happen. For that we use the Events controllers, for each event that can happen, we can define how the system is going to behave. A common event is onTouch Event, this is when the screen is touched. We have to define the events listeners to capture this events.


Resources are the external elements we use in our applications. They are placed in the “res” folder and they can be, images, music, videos. Here, in this folder is stored the .xml files: User Interfaces, styles, strings we use in the App, themes… Once resources are compiled, they are fully available in Java code using the “R.java” file. We will see this in further examples.

Follow up

If you want to know when new articles are released, subscribe yourself to the Google Android RSS Otherwise, you can follow my research, articles and work in my professional twitter: jbeerdev

This post is part of the series: How to- Develop Applications on Android: One more step

In this second Serie of articles we will continue working on Android and Eclipse.This time, we will see different resources to make Android apps development more easy.

  1. How to Create Your UI Using DroidDraw
  2. Guide to the Dalvik Debug Monitor Service for Android
  3. Working With The Android Source Code
  4. Guide to Using Google Android Databases
  5. Guide to Android Development Terms