-
Book Overview & Buying
-
Table Of Contents
Android Programming for Beginners - Fourth Edition
By :
As you might have noticed, explaining even the Empty Activity template app to a beginner is not straightforward. However, we are nearly ready to do so. In this section, we will make our own Hello, Android app, but it will be the simplest possible app that can run in a modern Android and Jetpack environment. We will then add one code block at a time until we have (and understand) the complete code of the Empty Activity template app from Chapter 1.
We will build this app in multiple stages, pausing to unravel the syntax and how it works as we go.
In the world of programming, a Hello, World! app is supposed to be simple, preferably a single line of code. In Android, this is not entirely possible, but we can make a UI-based Hello, World app that is simpler than the Empty Activity template app. Let's do that.
Real Hello World. Delete the Greeting function, delete the GreetingPreview function...