Google+

Android4Beginners.com

Apps development for Android step by step

Lesson 1.3: How to modify TextView in Java code (findViewById, setText and getText methods)

We have already presented some text on the screen using layout XML file. This is recommended approach, but if we want to modify that text we have to use Java.

Read More

Lesson 0.12: Java basics – more about methods & variables (access modifiers public or private, getters and setters)

In this lesson we are going to understand what happens, if there are a few variables with the same name. And what does it mean that some variables or methods are public and others private? We would also learn how to easily add so called getters and setters.  Read More

Lesson 0.11: Java basics – more about classes (inheritance and constructors)

You should be already aware what is an object and why we use classes, methods and variables (and how to add a new class to your project). Otherwise read previous lesson. To more comfortable jump into Adroid Java developing we need a bit more information about them. Let’s start with class inheritance and class constructors).

Read More

Lesson 0.10: Java basics – first contact with Java programming language (objects, classes, variables and methods)

As we have already learnt from previous lessons Android apps are written in Java – one of many programming languages (for instance apps for Apple iOS are written in Objective C). We will try to understand some basic concepts of Java.

Read More

Lesson 0.9: Android app life from onCreate to onDestroy – what happens when we start app (and what are “activities”)

Android apps are built from activities. Activity is a set of actions visible on the screen (usually it takes whole screen, but it could be in a window). The app could have many activities. For instance a music player has a main menu activity, album list activity, song play activity etc. So activity is a combination of user interface and some functions.

Read More