Apps development for Android step by step

Lessons related to onCreate

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.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