Category Archives: Android Development Tutorial

Android Development 25

Samsung S Pen SDK TutorialI’m very excited to provide you with my Samsung Mobile SDK Tutorial! Over the next few videos I’ll cover: the Samsung Mobile SDK and I’ll demonstrate the opportunities it provides.

Thanks to the nice people at Samsung and the Samsung Smart App Challenge, who are giving away $1.1 Million in prizes.

I’ll also be offering a give away. Between now and November the 30th, sign up for a free Samsung developer account at http://developer.samsung.com/signup and you will be eligible to win a Samsung GALAXY Note 3 device or one of three Samsung GALAXY Gear smart watches. I will choose a winner at random. After you signup for the Samsung developer account, leave me a comment below stating that you signed up. That is all! Continue reading Android Development 25

Android Development 24

Android Dialog BoxesIn this part of my Android Development tutorial I will cover how to use Android Dialog Boxes. We’ll cover how to design their layouts, how to call for them to open and how to send data from dialog boxes to other fragments and activities using putSerializable and getSerializableExtra.

Because I’ll be working specifically with birth dates we’ll also take a look at the Date, Calendar and GregorianCalendar. All of the code can be found after the video to help you better understand. Continue reading Android Development 24

Android Development 23

Android ViewPagerIn this part of my Android Development Tutorial I will cover how to use the Android ViewPager. The ViewPager allows you to flip through Fragments sort of like you would do with a book.

I’ll also cover how to connect the ViewPager with a FragmentManager so that we’ll be able to properly display and track the Fragments and make sure they are updated. If you missed previous parts of this tutorial you should start with part 18. The code follows the video. Continue reading Android Development 23

Android Development 22

Android Development 22In this tutorial I will connect the ListFragment to the Census App, so that when you click on an item we’ll be able update the Contacts. This tutorial began at part 18, so if you missed that video start there.

All the Contacts are updated and we also cover how to store and pass contact IDs between activities. We also streamline the code by separating duplicate code out into another class and much more. Continue reading Android Development 22

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

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

Android Video Tutorial So Far

Android Video TutorialHere I will organize all of the Android Video Tutorials I have made so far. I include the playlist for all the videos at the top. You will also be able to search for the exact video you are looking for, because I’ll include a link to all videos along with a short description on what is covered.

My Android Video Tutorial is not finished and I plan to make many more videos. I just wanted to make this to help people find exactly what they need more easily. Feel free to leave requests for what you’d like to see in future Android tutorials below. Continue reading Android Video Tutorial So Far

Android Development 15

Android JSON ParserIn this tutorial, I will show you how to create an Android JSON Parser. I have received this request numerous times and I will show the easiest way to parse JSON with Android without all of the extra code that confuses people.

I will be grabbing the JSON data from the URL provided by the Yahoo YQL Console. I previously used this when I covered how to parse XML with Android. All of the code used in the tutorial is provided in a package to help you learn this stuff better. Continue reading Android Development 15

Android Development 14

Android Development TutorialWelcome to part 14 of my Android Development tutorial! In this part of the tutorial I will completely finish the Android Address Book App. I will also spend a lot of time answering questions I recently received on Contexts, Intents, how to pass data between Activities using putExtra() and and getStringExtra(). I’ll also cover how to import Android packages into Eclipse.

Here is the final complete Android Address Book App Package. All of the specific code I worked with in this tutorial can be found below. Continue reading Android Development 14

Android Development 13

Android Development TutorialWelcome to part 13 of my Android Development Tutorial! In this tutorial I will continue building the Android Address Book App previously covered in parts 10, 11 and 12. If you haven’t seen them, check them out first.

Specifically in this tutorial I will create the Java that will power the ListView for the Main Activity and I’ll also cover the New Contact code needed to add a contact to the database. All of the heavily commented code after the video should help make everything understandable. Continue reading Android Development 13

Android Development 12

Android SQLiteIn this tutorial I’ll continue making my Android SQLite Address Book app. I hope this code is useful enough to use as a cheat sheet when you need to use an SQLite database in Android.

I cover a ton of topics: How to Create a SQLite Database and Tables, How to Issue Queries, How to Insert Data, How to Update Data, How to Delete Data, SQLiteOpenHelper, execSQL, SQLiteDatabase, ContentValues, rawQuery, Cursor, and more. The code below will help. Continue reading Android Development 12

Android Development 11

Android Address Book AppIn this part of my Android Development Tutorial I continue building the Android Address Book app. If you missed the first part it is here.

This time I finish up the interface for my app. I walk you step-by-step through everything. I then go through every query I will be issuing to my SQLite database in the app. I show how to create tables, insert contacts, update contacts, delete contacts, output everything and even drop the table. Here is my SQLite3 Tutorial if you need it. Continue reading Android Development 11

Android Development 10

Android Development Tutorial 10Welcome to part 10 of my Android Development Tutorial! In the next few videos I will show you how to create an Address Book / Contact App using both Android and SQLite.

I was asked by a bunch of you guys slow down for a few tutorials so that it would be easier to completely understand what is going on. So, I’ll go through how to define constants for my interface in the string.xml and dimens.xml files. I’ll then create the activity_main.xml file which will be the opening interface. I’ll also introduce the ListView. Continue reading Android Development 10

SQLite3 Tutorial 4

SQLite3 TutorialWelcome to part 4 of my SQLite3 Tutorial! I cover an enormous amount of information on SQLite3 here.

I cover all of the following: Review of most everything from previous SQlite3 tutorials, SQLite3 ENUMs, Composite Primary Keys, dates, data types, data affinities, joins, inner join, left join, natural join, cross join, ON, GROUP BY, select statements inside of select statements, views, triggers and more. If you missed the previous parts look here SQLite3 Tutorial, Part 2 & Part 3. Continue reading SQLite3 Tutorial 4

SQLite3 Tutorial 3

SQLite3 Tutorial 3Welcome to part 3 of my SQLite3 Tutorial! Here I will cover a TON of commands for SQLite3. If you want a video that covers a ton on SQL you are in the right place.

All of the following are covered in the video and the code that follows: SELECT, FROM, WHERE, COLLATE, NOT NULL, DEFAULT, UNIQUE, CHECK, FOREIGN KEY, REFERENCES, ALTER, ADD COLUMN, RENAME, AND, OR, LIKE, NOT LIKE, ORDER BY, LIMIT, OFFSET, AS, UPDATE, DELETE, and more. I also cover a bunch of arithmetic, boolean, bitwise, relational and other operators. Continue reading SQLite3 Tutorial 3

SQLite3 Tutorial 2

SQLite3 Tutorial 2Welcome to part 2 of my SQLite3 Tutorial. Today I’m going to talk about something that is always ignored in most database tutorials. I’ll show you how to alphabetize a multidimensional array. I’ll also show you the code you can use to generate insert statements so you can save yourself a ton of time.

If you missed part 1 you should watch it first here SQLite3 Tutorial. All of the code used in the video is available below. I hope you find it to be useful. Continue reading SQLite3 Tutorial 2