Welcome to Android programming Course
In this course, you will be taught the basics of Android programming. The course consists of five main sections as follows:
In this section, you learn how to download and install the necessary programming tools for Android. Then, we teach how to develop a simple Android application and run it on an emulator and Android real device. Once this stage is complete, you learn how to create an apk file and prepare it for uploading in Google Play. When you generally learned how to develop and distribute Android apps, it is time to simply learn details of Android programming in a stepwise manner. This is done in the other four sections.
Here, you learn the basics of Java Programming. Data types and variables, mathematical operators, relational, and logical operators, and conditional statements and methods are the prerequisites of Java. Every Android appmer is required to be expert in Java.
This section is dedicated to train views. Views are the components of every Android app, frequently seen in various apps. In this section, you learn about EditText and TextViews.
In this section, you learn ViewGroup. ViewGroups are used for the layout of views. Relative and Linear are two views, taught in this section. Two other concepts (Padding & Margin) are also taught in this section.
In this section, you learn how to add a new activity to the app, open an activity through another one, send value from one activity to another and open web browser and phone dialer.
Note that this course enables you to start building android apps with no programming knowledge.
To start android programming, you should download and install some tools. But before that, you, as an android programmer, would better know what these tools are and how they actually work. So at the beginning of the training, I introduce these tools to you and then will talk about where you should download the proper software and also how to install those tools.
Android programming tools that we need, are IDE, Android SDK and JDK. So, in this lecture, you will learn how to install these tools.
Don't worry if you do not understand these industry jargons, I'll explain it all in videos.
This video shows you how to create a new Android project with Android Studio.
The Android SDK includes a mobile device emulator — a virtual mobile device that runs on your computer. The emulator lets you develop and test Android applications without using a physical device.
Learn how to:
Android requires that all apps be digitally signed with a certificate before they can be installed. In this video, I will show you how to generate signed APK using Android Studio. Android uses this certificate to identify the author of an app.
Sometimes it’s necessary to use a real device for debugging applications. For example, your system is not that much powerful to run android studio and Emulator simultaneously and you want to use a real one instead of an Emulator. Or maybe you are writing a program that requires a special sensor, and the sensor does not exist in the virtual device.
Before starting a new topic, it’s better review previous discussions. So I have an exercise that you should do it yourself. You can find the answer of this practice in later video.
In this Section, you’ll become familiar with Java, the programming language used to develop Android applications. So you should learn basics of this language to understand next sections.
One common question among new android programmers is that whether they have to learn all java language? And fortunately, the answer is no. you don’t have to learn all java language. I teach you those parts of java that are needed in android programming and no more.
In programming, Variables are used to store values. Values may be numbers, text, and other types of data. Variables are like containers which hold values. They could be used to store the air temperature, the age of a user or the result of a mathematical expression.
In this lecture, I am going to talk about floating-point numbers. Floating-point numbers are numbers that have fractional parts. For example, the numbers 3.14, 0.07, and -100.20 are floating point numbers.
In a simple definition, A [comment] is a note to yourself that you put into your source code.
Comments are used primarily to document the meaning and purpose of your source code, so that you can remember later how it functions and how to use it. And sometimes it is necessary to leave comments so that other programmers may browse your code with ease.
A string is a data type such as an integer, float and double, but is used to represent text rather than numbers.
Strings are a sequence of characters. In Java, Strings are enclosed within double quotation marks.
In computer programming, an arithmetic operator is a mathematical function that takes two operands, performs a calculation on them and returns a single numerical value.
For example, in 2 + 3, the 2 and 3 are the operands and the plus symbol is an arithmetic operator that represents addition. So the values operators work with are called operands.
Codes in a program are executed one after the other in the order in which they are written. But most of the times, you want the code to be executed only if certain conditions are met.
Java provides decision making statements so as to the control the flow of your program. These statements are:
As I said, the if statement consists of an expression and a statement or a block of statements that are executed if the expression is true.
Now let us use another form of IF statement. It is called if … else statement which is used to handle the false case of the 'if' expression
Now we come to the discussion of the logical operators.
The concept of logical operators is simple. They allow a program to make a decision based on multiple conditions.
Logical operators are used in conditional expressions which return true or false.
There are three types of logical operators:
There is another form of if statement that is called nested if. Nesting an IF Statement just means putting one IF Statement inside of another
Another statement that implements a selection control flow is the switch statement.
A switch statement allows a variable to be tested for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each switch case.
A method is a set of codes that can be used over again. There is usually two category of methods in programming languages.
One category includes those methods which have already been written and you only must call their names. The second category includes those methods that you must write them whenever it’s needed and then call them.
In this lecture, I want to teach you how to write methods with no parameter and no return type. These methods have no value as an input and don’t return a value as a result.
The second way of writing a method is that the method accepts value or values and depending on them execute some codes.
Third category is those methods that takes input values, performs some codes and returns the result.
In this section, I'm going to teach you about VIEWs. A view is an overall concept that is used for anything that you use in the user interface. Button, TextView, EditText are some examples of view. A view is corresponding to controls in windows programming.
In this lecture, I am going to talk about EditText. As suggested by the name, An EditText is used to display or accept a single line or multi line of text.
A checkbox is a specific type of two-states button that can be either checked or unchecked. A checkbox allows the user to has one or more choice from a series of selections.
RadioButton is also a two-states view. One state is selected, and the other is not.
RadioButton is used to choose only one option among several options.
Imageview is used to display images. To do this, first, you must add images to the drawable folder.
This section will teach you about the Layouts. In Android a Layout defines the visual structure for a user interface. A Layout defines how the views should be organized in the User Interface.
Examples of Layouts are:
Relative layout is one of the more common type of layouts in android. It lets child views specify their position relative to each other or to the parent view.
Linear layout, as the name suggests, is a view group that aligns all children in a single direction, vertically or horizontally.
margin and padding are the two most commonly used properties for spacing-out views. A margin is the space outside a view, whereas padding is the space inside a view.
In this lecture, you will learn to use ScrollView in your applications. ScrollView is designed to hold view larger than its actual size. If the view inside ScrollView is more than the view that can be contained within ScrollView then a scrollbar is automatically added.
Real world android applications consist of many activities. In this lecture, we will talk about how to create a new android activity and move from one activity to another.
Sometimes, you will want to send and receive data between one Activity to another. In android we can use intent to pass data from one Activity to another.
In android, there are two types of intents. Explicit intent and Implicit intent.
Explicit intent is used to invoke the activity class whereas Implicit intent is used to invoke the system components. I talked about Explicit intent in the previous lectures. As you saw, we used explicit intent to open another activity.
But in this lecture we will discuss about Implicit Intent. Implicit intent is used to invoke the system components.
Hi! Welcome to my Android Programming Course :)
The course provide an introduction to Android Programming and allows someone with no knowledge of programming to start creating Android Applications.
The course will train you via a step-by-step method.
This course comes with a 30 day money back guarantee! If you are not satisfied in any way, you'll get your money back.