Android Programming From Scratch - For Beginners
4.3 (117 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
6,973 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Android Programming From Scratch - For Beginners to your Wishlist.

Add to Wishlist

Android Programming From Scratch - For Beginners

Learn every thing you need to start android programming
4.3 (117 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
6,973 students enrolled
Created by Online Coders
Last updated 4/2017
English
English [Auto-generated]
Curiosity Sale
Current price: $10 Original price: $30 Discount: 67% off
30-Day Money-Back Guarantee
Includes:
  • 3.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • You will learn how to build Android applications from the very beginning
  • Run Android applications using an emulator or a real Android device.
  • You will learn basics of java for android development
  • You will learn how to prepare Android apps to publish on Google Play
View Curriculum
Requirements
  • A PC or MAC machine with minimum 4GB RAM
Description

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:

First Section:

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.

Second Section:

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.

Third Section:

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.

Fourth Section:

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.

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

Who is the target audience?
  • Anyone who wants to learn Android Programming as easy as possible
Students Who Viewed This Course Also Viewed
Curriculum For This Course
39 Lectures
03:29:10
+
BEGINNING ANDROID PROGRAMMING WITH ANDROID STUDIO
8 Lectures 53:50

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. 

Preview 08:12

This video shows you how to create a new Android project with Android Studio.

Developing First Anroid Project
07:09

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.

Preview 09:15

Learn how to:

  • Create buttons
  • Connect a layout view with an activity
  • Display a Toast
Developing First Android Project - Part 2
13:52

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.

Build Signed APK File with Android Studio
07:00

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.

Using a Real Android Device in Android Studio
03:04

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.

Exercise No.1
01:16

Solution No.1
04:02
+
SECTION 2: JAVA FOR ANDROID DEVELOPMENT (LEVEL: BEGINNING)
15 Lectures 01:05:48

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.

Intro
01:47

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.

Data Types and Variables
07:17

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.

Floating-Point Numbers
04:50

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.

Comments
02:35

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.

For example:

  • “Hello world” is a string
  • “14 Tottenham Court Road” can be a string
  • “www.Online-Coders.com” is also a string
  • “123” is a string too, not a number. Because, it goes inside the double quotes
  • “ “ This is a string too. Note that the space can either be a character.
String Data Type
05:06

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.

Arithmetic Operators
06:55

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:

  • if Statement
  • if...else Statement
  • if...else if...else Statement
  • switch...case Statement
if statement
08:51

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

if...else if Statement
06:33

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:

  • AND ( && )
  • OR ( || )
  • NOT ( ! )
Logical Operators
02:30

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

Nested if
02:06

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.

Preview 05:49

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.

Methods in Java
01:13

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.

Methods with no parameters and no return type
03:08

The second way of writing a method is that the method accepts value or values and depending on them execute some codes.

Methods with parameters
04:50

Third category is those methods that takes input values, performs some codes and returns the result.

Methods with parameters and return type
02:18
+
SECTION 3: VIEWS IN ANDROID
8 Lectures 50:54

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. 

Intro
02:26

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.

EditText
10:46

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. 

CheckBox
14:11

Improving CheckBoxExample Project
07:43

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.

RadioButton
01:51

Imageview is used to display images. To do this, first, you must add images to the drawable folder.

ImageView
03:04

Exercise No.2
03:32

Solution No.2
07:21
+
Section 4 - Android UI Layouts
5 Lectures 21:13

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
Linear Layout 
Absolute Layout
Frame Layout
Table Layout
ScrollView

Intro
02:26

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.

Relative Layout
07:20

Linear layout, as the name suggests, is a view group that aligns all children in a single direction, vertically or horizontally.

Linear Layout
03:59

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.

Margin and Padding
03:36

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.

Scroll View
03:52
+
Section 5 - Activity and Intent
3 Lectures 17:25

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.

Create and Open a New Activity
05:28

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. 

Passing Data Between Activities
06:33

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.

Open Phone Dialer and Web Browser
05:24
About the Instructor
Online Coders
4.3 Average rating
117 Reviews
6,973 Students
1 Course
Developer and Android Instructor

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.