Tag Archives: Android Development Tutorial

Samsung Mobile SDK Tutorial 8

Samsung Mobile SDK 8In this part of my Samsung Mobile SDK tutorial I continue making the paint application we started in part 7.

I’ll specifically be covering all the libraries required and what they do. We’ll look at how to initialize the S Pen, the components used in our app, and how to set up the event listeners so that the settings windows and tool bar operates properly. All of the code and the transcriptions for the video can be found below the video. Continue reading Samsung Mobile SDK Tutorial 8

Samsung Mobile SDK Tutorial 7

Samsung Mobile SDK TutorialWelcome to part 7 of my Samsung Mobile SDK Tutorial. In this part of the tutorial I’ll cover how to create toolbars for use with any Android app. I’ll then cover additional functionality that the Samsung S Pen provides as well as covering how to create settings windows, import images from the image gallery and more.

All of the code follows the video below. I recently announced the winners of my Samsung Galaxy Note 3 and Galaxy Gear Smart Watch contest. Congratulations to the winners and thank you Samsung for allowing me to have such a great contest! Continue reading Samsung Mobile SDK Tutorial 7

Samsung Mobile SDK Tutorial 6

Samsung S Pen TutoriaIn this part of my Samsung Mobile SDK tutorial I will focus in on the S Pen. I’ll cover how to use the S Pen settings popup. We’ll also look into how to change the look of buttons depending upon their state changes. After I cover the basics of buttons in the next tutorial we’ll make a tool bar.

In general we are putting together all of the pieces that would be required to create a professional Android paint app. All of the code follows the video below. Continue reading Samsung Mobile SDK Tutorial 6

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

Android Development Tutorial 9

Android XmlPullParser TutorialWelcome to part 9 of my Android Development tutorial. Here is the complete package for my Android Stock Quote Picker.

In this tutorial I will focus on using the Android XmlPullParser for parsing an xml file. I’ll be getting data from the Yahoo Web Service just like last time. Google recommends the XmlPullParser over all others because it is fast, requires the least amount of memory and helps maintain battery life. With the video below and the code that follows you should have no problem using it in your own Android apps. Continue reading Android Development Tutorial 9

Android Development Tutorial 7

Android Development TutorialWelcome to part 7 of my Android Development Tutorial! Today I will continue what I started in the last Android tutorial.

I cover how to do all of the following: Pass values between activities : Save key value pairs : Use OnClickListeners : Retrieve saved data : Use ScrollViews : Use Alert Dialog Boxes : Use Intents to Open Applications : Use Intents to Open Activities : Force Close the Keyboard : Much More… Download all the code here Continue reading Android Development Tutorial 7

Android Development Tutorial 6

Android Development TutorialWelcome to part 6 of my Android Development Tutorial! Over the next few videos I will cover a tremendous amount of information. You can get the whole app right now if you can’t wait here Android Stock Quote App.

Here are just a few of the things I’ll cover over the next few videos: The TableLayout : Dynamically Fill ScrollViews : Save Key / Value Pairs : Review of ClickListeners : Using Intents to Open other Applications : Alert Dialog Boxes : Start other Activities and Pass in Information : Yahoo Web Service : YQL : AsyncTask : Threads : Parsing XML  Continue reading Android Development Tutorial 6

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