Android Development 21

Android Development Tutorial 21In this part of my Android Development Tutorial, I cover numerous topics. This tutorial started in part 18 of this series and you should start watching there to understand everything.

I cover the following : FragmentManager, Creating list items for a ListView, ListFragment, Android Adapters, ArrayAdapter, Generating items from an ArrayList for a ListView and more. All of the code follows the video, but it is also available as a complete package here. Continue reading Android Development 21

Android Development 20

Android Development 20In this part of my Android Development Tutorial I will continue talking about Fragments. If you missed parts 18 and 19 watch them first or you will be confused.

We will also cover how to use CheckBoxs and OnCheckChangedListener. Will explore how to generate unique IDs for all our contacts using UUID. Will create a Singleton that will hold all our contacts in an ArrayList and more. All of the code is available below. Continue reading Android Development 20

Android Development 19

Android DevelopmentWelcome to part 19 of my Android Development tutorial. You’ll need to have seen part 18 to understand this tutorial.

In this part of the tutorial I will be answering a bunch of common questions I receive. I’ll be covering how to have your app automatically change into another language ( Localization ). I’ll also show how to catch multiple events. We’ll also go over how to create a layout specific to when the app is in landscape mode. All of the code follows the video below. Continue reading Android Development 19

Android Development 18

Android Fragment TutorialWelcome to part 18 of my Android Development Tutorial. Over the course of the next few tutorials I will focus on a bunch of new topics as well as provide a review of topics people are struggling with.

This tutorial covers how to create custom icons for our app. We then build an app based around the use of fragments. We will be building an app that a Census taker would use to gather information on people. The tutorial starts slow, but it will build quickly. All of the code can be found below. Continue reading Android Development 18

C Video Tutorial 15

Binary Numbers CWelcome to part 15 of my C Video Tutorial! In this tutorial, I cover numerous topics.

First I go over how we can pass locations in memory between functions based on a request I received. Then I cover the Bitwise Operators AND, OR, Exclusive OR, and Shift Operators. We explore how signed numbers work and how the Ones Complement Operator can help. Then we look at Bit Masking and Binary Fractions. All of the code follows the video to help you learn. Continue reading C Video Tutorial 15

C Video Tutorial 14

Convert From Hexadecimal to Base 10 CIn the last part of my C Video Tutorial, I covered how to convert from base 10 to base 2, base 8 and base 16 with C.

At the end of that tutorial, I provided a homework assignment for you to write code that converts from any base back to base 10. In this tutorial, I will walk through exactly how to do that.

You can find all of the code below the video. Please leave any questions you may have. Continue reading C Video Tutorial 14

C Video Tutorial 13

C Binary NumbersWelcome to part 13 of my C Video Tutorial. I have been asked many times to explain how to convert base 10 numbers into binary (Base 2), octal (Base 8) and hexadecimal (Base 16) numbers. Today I’ll cover that topic.

I also cover how the different numbering systems work so that it will be easy to work with them in the videos that follow. All of the code can be found below along with a transcription to aid in translation. Continue reading C Video Tutorial 13

C Video Tutorial 12

C Binary File IOWelcome to my C Binary File IO tutorial. With the binary view of a file you have access to all the bytes in the file. You can store strings, arrays, structs, etc.

Aside from showing how to save and retrieve strings, I’ll also cover how to save array data and grab it out of the file randomly. I also briefly cover error handling in C. All the code is available below along with a transcript of what I said for translation. Continue reading C Video Tutorial 12

C Video Tutorial 11

C File IO ExampleIn this part of the C Video Tutorial I will provide C File IO examples. I’ll cover C Text File IO in this tutorial and the Binary File IO functions in the next part.

I specifically cover the following topics: FILE Data type, fopen(), fputs(), fseek(), ftell(), fgets(), fclose(), fscanf(), puts(), fprintf(), Different Ways to Access Files, and more. All of the code used is available below the video. Continue reading C Video Tutorial 11

C Video Tutorial 10

C Linked ListIn this video I continue with my C Linked List tutorial. In part 9, I gave you homework and in this video I will show you my answer. You guys asked for more tutorials like this, so I’m giving it a try.

So, today I’ll show you how to search through a Linked List. I’ll also cover how to delete structs and remove them not only from the Linked List, but also from memory. All of the code from the video is below along with a transcription. Continue reading C Video Tutorial 10

C Video Tutorial 9

linked list structureWelcome to my linked list structure or linked list struct tutorial. I have been asked to cover these structs numerous times lately and so I will do so.

In this tutorial and the next I will show how to create an unlimited number of structs using malloc. I’ll focus on creating the structs, adding them to the list and then how to display them. Because you guys ask for homework all of the time, you’ll then get the opportunity to write the code on how to search through the linked list, how to delete structs and free memory. Continue reading C Video Tutorial 9

C Video Tutorial 8

C Malloc TutorialWelcome to part 8 of my C Video Tutorial. In this video I cover a topic I have received many requests for. This is basically a C Malloc Tutorial.

Malloc() ( Memory Allocator ) is used to dynamically set aside memory at run time. Because malloc() returns a pointer to that location in memory it can be a bit confusing. I’ll cover how to store both regular data types as well as structs using malloc(). Continue reading C Video Tutorial 8

How To Install GCC

How To Install GCCIn the past week I have been asked a countless number of times how to install GCC ( GNU Compiler Collection ). I have been using it in my C Video Tutorial.

I show you how to install GCC on Windows as well as on a Mac in the video below. Not only did I make a video, but I also have everything listed step-by-step below after the video. If you have any trouble setting this up, leave a comment below and I’ll try to help. Continue reading How To Install GCC

C Video Tutorial 7

C Video Tutorial 7Welcome to part 7 of my C Video Tutorial! In this tutorial, I’m going to cover a bunch of topics that you have requested and that I have skipped.

I cover the following: strchr(), strrchr(), tolower(), toupper(), ctype.h Functions, _Bool, bool, Numerous Ways to Except Input, getchar(), putchar(), Buffering, gets(), puts(), fgets(), fputs(), How to Eliminate Newline, How to Make a String Lowercase, strcmp() and more. Continue reading C Video Tutorial 7

C Video Tutorial 6

C Video Tutorial 6Welcome to part 6 of my C video tutorial. Today I’m going to cover Unions, Enumerated Types, the Designated Initializer, Using unions in Structs, Recursive Structures, Linked Lists and much more.

I’m also going to experiment with a new style that is more interactive and I hope it feels more like a classroom setting. Throughout the tutorial I will constantly insert brain teasers. Hopefully they aren’t distracting. I do this every once in a while to try and improve. Continue reading C Video Tutorial 6

C Video Tutorial 5

C Struct Video TutorialToday I’m going to cover how to create and use a struct in C. Structs are used when you need more then one piece of data to describe one thing. You can’t use an array because an array only holds data with the same data type

I’ll specifically cover how to : Create a Struct, Get data from a Struct, Initialize a Struct, Pass a Struct to a Function, Use Typedef, Change a Value in a Struct, Use a Struct in a Function, ->, *(structName) and how a Struct is stored in memory. The code follows the video below. Continue reading C Video Tutorial 5

Android Development 17

Android Fragments TutorialWelcome to part 17 of my Android Development Tutorial. This is part 2 of my Android Fragments Tutorial series. Part 1 is here and you should watch it before watching this video.

Fragments are often used so you can create completely different interfaces depending upon the screen real estate available. We’ll cover how to do that and we’ll also look at how we can get the fragments to communicate with each other and the main activity. The Whole package is available here Android Fragments. Continue reading Android Development 17

Android Development 16

Android Fragments TutorialWelcome to part 16 of my Android Development Tutorial, or maybe I should call this one an Android Fragments Tutorial!

There has been a ton of demand for an Android fragments tutorial, so I wanted to try and do it right. It is very easy to get confused by fragments if they aren’t presented in the right way. I did my best to cover a lot in this video and most importantly to keep it simple. If you understand fragments you’ll be able to make great interfaces. Don’t worry I’ll cover everything in future tutorials. Continue reading Android Development 16

C Video Tutorial 4

C Video Tutorial 4Welcome to part 4 of my C Video Tutorial! Today I’m going to try something a little different to try and make the videos feel more like a classroom atmosphere.

We’ll be looking at pointers in c. I’ll cover what pointers are. What is the difference between * and &. How to use pointers and arrays. How to create an array of strings. We’ll also look at how to change the value of variables inside of functions and how to manipulate char arrays in functions. Continue reading C Video Tutorial 4

C Video Tutorial 3

C Video Tutorial 3Welcome to part 3 of my C Video Tutorial!

In this tutorial I cover : exit(), switch, Arrays, Array Indexes, Problems with scanf(), Memory Overflow, strcpy(), fgets(), Array Interation, strcmp(), strcat(), strlen(), strlcpy(), Global Variables, Local Variables, Functions, and more…

The code below is heavily commented and will help you learn. Feel free to leave any questions you have. Continue reading C Video Tutorial 3