Android Development Tutorial 5

android event listenerWelcome to part 5 of my Android Development Tutorial! In this tutorial, I completely finish the tip app that I have been making. If you want to learn about the Android event listener you are in the right place.

I will cover how to both get values from and change values in Android components.I also cover how to use changeListener, OnCheckedChangeListener, setOnCheckedChangeListener, OnItemSelectedListener, setOnItemSelectedListener, onItemSelected, setOnClickListener, and also how to turn a chronometer into a stop watch. Continue reading Android Development Tutorial 5

Android Development Tutorial 4

Android Development Tutorial 4Welcome to part 4 of my Android Development Tutorial. In the last part, I showed you how to put together an Android User Interface. This time I will add to that app in a big way!

Over the course of this tutorial and the next I will cover RadioButtons, RadioGroups, CheckBoxes, DropDows (Spinners), Buttons, Chronometers, ChangeListeners, ItemSelectedListeners, onClickListeners and much more. All of the code below should help you along. Continue reading Android Development Tutorial 4

Android Development Tutorial 3

Android User InterfaceIn this part of my Android Development Tutorial, I will build an Android user interface.

I cover how to do numerous things: How to use the Android Visual Layout Editor, How to edit the GUI layout by editing the XML, How to use TextView, EditText and the SeekBar, How to catch events, How to save the apps state with onSaveInstanceState(), How to get values from components and how to change the values. The video and code below will teach you all you need to start making apps. Continue reading Android Development Tutorial 3

Android Development Tutorial 2

Android Development Tutorial 2In this tutorial, I decided to cover all of the topics I would need, so that in every tutorial that follows I can just make apps. Don’t try to memorize everything! Here I’m just covering a bunch of things you need to be familiar with.

We’ll cover the lifecycle of an Android activity completely. We’ll then look at how to make an app support many languages. We’ll look at how to grab string resources and how to pull them into java and xml files. Finally, we’ll look at the AndroidManifest.xml file in detail. Continue reading Android Development Tutorial 2

Android Development Tutorial

Android Development TutorialIn a previous tutorial, I showed you how to Install the Android Development Tools. In this first part of my Android Development Tutorial I’m going to describe almost every file and folder used to develop an Android app.

I’ll walk through every single file and explain how it is used. I’ll explain the whole file system. We’ll also make an app and as I create it, I’ll explain every single step and what everything means. I have never seen anyone try to teach this much in one video. I hope you enjoy it. All of the commented code is available below. Continue reading Android Development Tutorial

Solving Android SDK Problems

Solving Android SDK ProblemsIn my last tutorial, I showed you how to install the Android development tools. In this tutorial, I’ll show you how to solve many of the Android SDK Problems you have recently sent me.

We’ll look at: How to speed up the emulator. Solve the problem in which the Android SDK Manager could not find packages. Solve the Android SDK parse error problems. Solve the issue in which the emulator doesn’t execute your program. If you have any other problems leave a comment below and I’ll solve them. Continue reading Solving Android SDK Problems

Install Android Development Tools

Install Android Development ToolsWelcome to my tutorial on how to Install Android Development Tools. I received many requests on how to do this and it is a great topic to cover right before I start my Android Development Tutorial.

I’ll cover how to install Googles ADT plugin, all of the common errors people get and take you through running your first app. Many important things need to be pointed out like the fact that Googles emulators are terribly slow. If you haven’t installed Eclipse yet, definitely checkout my tutorial Install Eclipse for Java first. Continue reading Install Android Development Tools

Java Algorithm Video Tutorial

Java Algorithm Video TutorialWelcome to my Java algorithm video tutorial. Here I provide 18 videos on not only Java algorithms, but I also cover Data Structures in depth.

We cover numerous search and sorting algorithms. We also look at stacks, queues, lists, recursion, Big O Notation, hash tables, trees, heaps and a ton more.

A playlist filled with all the videos is below, along with links to all of the code used. Continue reading Java Algorithm Video Tutorial

Java Heap Tutorial

Java Heap TutorialWelcome to my Java Heap Tutorial. In previous tutorials, I covered how to print out trees in Java. You may want to look at that before continuing here, but it isn’t required.

A Heap is kind of like a tree, but it is normally implemented as an array. There are 2 main rules for using a heap. 1. Every row is complete except for last row. 2. Parent keys are bigger then children. I will cover how to insert and remove items. I’ll show how an array is heaped. I’ll also cover how the Heap Sort works. Everything is covered in the video and code below. Continue reading Java Heap Tutorial

Solving Programming Problems 2

Solving Programming ProblemsIn my previous tutorial Solving Programming Problems, I walked you threw the process of solving a generic programming problem. We made a method that printed out a tree structure in the console.

In this tutorial, I’ll walk through the process of finding bugs in the code and talk about how we can fix those bugs. I think this topic may be the hardest to teach. I hope the video and the code that follows can help you better grasp how to solve most any programming problem. Continue reading Solving Programming Problems 2

Solving Programming Problems

Solving Programming ProblemsTo finish off my Java Algorithm tutorial, I thought it would be interesting to cover solving programming problems in general. So, in this tutorial I’ll answer the question I’ve been getting, which is how to print a tree data structure.

On our journey to better understand how to solve problems I will first solve the basic problem. Then in the next part of the tutorial I will perfect printing any type of tree. The code below will better explain the process of solving this problem. Continue reading Solving Programming Problems

Binary Trees in Java 2

Binary Trees in JavaWelcome to my 2nd video on Binary Trees in Java. If you haven’t seen part 1, definitely watch it first or this will be confusing binary tree in Java.

In this part of the tutorial, I will take you step-by-step through the process of deleting nodes in a binary tree. This topic seems to be confusing to many people. I personally prefer to build trees with the builder design pattern like I showed here Encapsulate Composite with Builder, but it is also important to understand the basics of the binary tree. Continue reading Binary Trees in Java 2

Binary Tree in Java

Binary Tree in JavaWelcome to my tutorial on the Binary Tree in Java. On average a tree is more efficient then other data structures if you need to perform many different types of operations.

In this tutorial I’ll show you what a binary tree is, and how to create, add, traverse and find nodes. I’ll also explain all the terminology used when describing tree structures. We’ll cover nodes, paths (edges), traversing and much more. Continue reading Binary Tree in Java

Java Hash Tables 3

Java Hash Tables 3Welcome to the 3rd part of my Java Hash Tables Tutorial. If you missed the previous parts you should watch them Java Hash Table & Java Hash Tables 2.

I will review linked lists because I’ve received many requests on them. I’ll also show you how to hash strings, so that we can make a tool that can be used as a dictionary, spell checker, or something like Google Instant. I also show how to use lists in hash tables to demonstrate something called Separate Chaining. Continue reading Java Hash Tables 3

Java Hash Table 2

Java Hash Tables 2Welcome to the 2nd part of my Java Hash Tables tutorial. If you missed part 1, definitely watch it first here Java Hash Table.

In this tutorial, I will cover all of the following and more: 1. Why We Use Prime sized hash tables 2. How to Increase Hash Table Size 3. How to Avoid Clustering 4. How Double Hashing Works 5. How to Find Values in a Double Hashed Hash Table

This video provides many useful algorithms aside from the info on hash tables. Continue reading Java Hash Table 2

Java Hash Table

Java Hash TableWelcome to my Java Hash Table tutorial. A Hash Table is a data structure offers fast insertion and searching capabilities. The negative is that they are limited in size because they are based on arrays. They are also hard to order.

People get confused about them because of the Hash Function. A hash function is used to generate a unique key for every item in the array. Since every item is entered using a calculation, this allows you to reverse the calculation to immediately find the proper index. This way you can find items without the need to search through the whole array. Continue reading Java Hash Table

Big O Notations

Big O NotationsWelcome to my Big O Notations tutorial. Big O notations are used to measure how well a computer algorithm scales as the amount of data involved increases. It isn’t however always a measure of speed as you’ll see.

This is a rough overview of Big O and I hope to simplify it rather than get into all of the complexity. I’ll specifically cover the following O(1), O(N), O(N^2), O(log N) and O(N log N). Between the video and code below I hope everything is completely understandable. Continue reading Big O Notations

Java Quick Sort

Java Quick SortWelcome to my Java Quick Sort tutorial! In most situations the Quick Sort is the fastest sorting algorithm.

In essence, the quick sort works by partitioning arrays so that the smaller numbers are on the left and the larger are on the right. I’ll cover what partitioning is in this video.

The Quick Sort then recursively sends small parts of larger arrays to itself and partitions again. Between the code and the video below you will completely get it in the end. Continue reading Java Quick Sort

Java Shell Sort

Java Shell SortWelcome to my Java Shell Sort tutorial! I really tried to have fun explaining how the Shell Sort works in this tutorial. I show how it works in 4 different ways. We see it graphically, in a presentation format, explained during execution and again in the code itself. Everything can be found after the video.

The Shell Sort is one of the fastest of the easier to understand sorting algorithms. It is similar to the insertion sort, but it has an added feature in which it partially sorts the array before the insertion sort is used. The video and code below will explain everything. Continue reading Java Shell Sort

Java Recursion

Java RecursionWelcome to my Java Recursion tutorial. In the video below, I’m going to cover java recursion in 5 different ways. I figured if I show it using many different diagrams that it will make complete sense.

A recursive method is just a method that calls itself. As these calls are made the problem gets simpler until you reach a condition that leads to the method no longer making calls upon itself. This is known as the base case. The video and code below will make recursion easy to understand. I also cover the Merge Sort. Continue reading Java Recursion