Category Archives: Android Development Tutorial

How to Make Android Apps 27

Android Material Design Sliding Tab ExampleIn this tutorial I provide an Android Material Design sliding tab example program and cover ViewPager and FragmentPagerAdapter. You are going to need these 2 files SlidingTabLayout.java and SlidingTabStrip.java.

This will allow us to use the newest form of sliding tabs that is also backwards compatible. I did my best to keep everything as simple as possible so that you can use this code in your applications immediately. The code follows the video below. Continue reading How to Make Android Apps 27

How to Make Android Apps 26

Android Tab Layout ExampleIn this tutorial I’ll create an Android Tab Layout example program. It will show how easy it is to create the tabs and then open new fragments on screen when they are clicked. Everything works easily when we use the callback interface TabListener.

In the next video we’ll make it so we can swipe through our fragments. All of the code used can be found below under the video. Continue reading How to Make Android Apps 26

How to Make Android Apps 25

Android NavigationDrawer ExampleIn this tutorial I present my Android NavigationDrawer Example. I have been asked for this many times and I hope to clear everything up.

I’ll focus in on showing exactly how to define the items in the Navigation Drawer and then how to switch to different fragments when those items are clicked on. I cut out anything that you don’t need to understand so you can use it today. Continue reading How to Make Android Apps 25

How to Make Android Apps 24

How to Make Android Apps 24In this part of my Android tutorial I’ll cover many questions brought up after my last Android Google Maps tutorial. This time I’ll cover how to set numerous markers, how to get latitude and longitude data and how to call for a Google Map that shows directions between 2 locations.

I’ll be reusing some of the code from the previous tutorial. All of the new code covered in this video can be found below. Continue reading How to Make Android Apps 24

How to Make Android Apps 23

Android Google Map ExampleIn this tutorial we’ll make an Android Google Map example program. Along with that I’ll also show how to create a splash screen and how to sign your APKs so you can distribute your app.

If you combine what I cover here with my Android ActionBar tutorial you’ll be able to add more functionality to your Google Map quite easily. All of the code used can be found after the video below. Continue reading How to Make Android Apps 23

How to Make Android Apps 22

Android Text Messaging ExampleIn this one video I’ll provide an Android Text Messaging example program. I’ll cover how to send and receive text messages. I’ll also talk about Android Handlers and threads.

I did my best to make everything very simple so you’ll be able to use the code in your programs. All of the code, like always, follows the video below. Do anything you’d like with it. Continue reading How to Make Android Apps 22

How to Make Android Apps 21

Android Content Provider TutorialWelcome to my Android Content Provider tutorial. I’ve received many questions about this topic. I have received many questions specifically about how to access a Content Provider from another application. So here I’ll make to apps. One will function as the Content Provider and the other will access data using a Content Resolver.

I haven’t found a tutorial online that explains how easy it is to use Content Resolvers in this way, so I hope this video is very useful. All of the code follows the video below and it is heavily commented. Continue reading How to Make Android Apps 21

How to Make Android Apps 20

How to Make Android Apps 20In this part of my Android tutorial we will cover using SQLite. We’ll create the database, verify its creation, add data, delete data, display data and delete the database. We’ll also explore Cursors and more.

I structured the app so that it is both very easy to understand and so you’ll be able to cut and paste out the features you need for your apps. I also have an SQLite tutorial that you’ll find very useful. Continue reading How to Make Android Apps 20

How to Make Android Apps 19

How to Make Android Apps 19In this part of my Android video tutorial I’ll cover the NotificationManager, TaskStackBuilder, PendingIntent, AlarmManager and more on Intents.

The focus this time is on being able to notify the user of events even if my app isn’t running. The code is set up so that you can easily copy and paste out the capabilities you need directly into your app. All of the code follows the video below with a ton of comments to help. Continue reading How to Make Android Apps 19

How to Make Android Apps 18

How to Make Android Apps 18In this part of my Android tutorial we cover how to use Intent Services, Broadcasts, Broadcast Receivers, Intent Filters and how to download, save and read files.

I did my best to keep all of the code separated so that you can easily copy and paste out the functionality you need with your Android apps. All of the code follows the video with a ton of comments. Continue reading How to Make Android Apps 18

How to Make Android Apps 17

How to Make Android Apps 17In this part of my Android tutorial I cover 3 ways to save data. We’ll look at Bundles, onSaveInstanceState, SharedPreferences, and PreferenceActivity. We’ll also be reviewing working with components, Intents, click listeners, onActivityResult and a bunch of other topics.

This will begin a series of tutorials in which I cover everything about Android that I have previously not covered. Continue reading How to Make Android Apps 17

Android Studio Tutorials So Far

How to Make Android AppsIn this tutorial I will cover pretty much everything there is to know about how to make Android apps. Videos will focus on explaining the major topics in easy to understand ways. I’ll also make a bunch of apps.

Every article can be found below with a description. The videos are structured so that the videos will work on their own, but also as courseware that provides a complete understanding of Android. Continue reading Android Studio Tutorials So Far

How to Make Android Apps 16

Android Text to Speech ExampleIn this video I complete the Android Translation app! I provide both an Android Text to Speech Example as well as a Speech to Text example. I also review how to use Spinners.

By the end we will be able to say a phrase, translate it into multiple different languages and then press a button and have those translated phrases speak. All of the code follows the video below. Continue reading How to Make Android Apps 16

How to Make Android Apps 15

Parse XML Android ExampleIn this video I’ll take the Android Translation app I made in part 14 and now get it to parse XML data. I’m also going to add the ability to provide XML from the web service I made in part 5 of my web services tutorial.

This is an example of the techniques I use to make a professional app. We need to use multiple languages like Java, PHP and MySQL. All of the code in the video follows below. Feel free to do anything with it. Continue reading How to Make Android Apps 15

How to Make Android Apps 14

Android Translation App ExampleIn this tutorial I’ll provide you with an Android Translation App example program. I’ll use the translation web service I built in parts 4, 5 and 6 of my web services video tutorial. I’ll also show how to parse JSON data in an Android app.

Everything has been kept as easy to make as possible and all of the code follows the video below with many comments. Continue reading How to Make Android Apps 14

The Last Contest

Samsung Galaxy Note 3 GiveawayI have one more Samsung Galaxy Note 3 and Samsung Galaxy Gear smart watch left to give away. I decided I’d let everyone vote on what the last contest should be. I’d like it to be a skill based contest so that the prize doesn’t go to somebody randomly though.

I’ve had videos based on app design, artistic skills, app design and funny videos. It has been a lot of fun having these contests. Thank you for everyone that has participated.

Please leave your suggestions in the comment section below. The final contest will be based on what ever you all vote for.

Everyone on Earth has the opportunity to enter as long as I can get the prize to you. I pay for shipping and everything else. Feel free to share this opportunity with others. [googleplusone]

Android App Contest Winner

Android App Contest WinnerIn this video I announce the Android App Contest Winner! I received over 34 apps for this contest and they were awesome. Thank you 🙂

I decided to focus on the top 5 apps in this video which are available for download here : Fort King Math, Balance, Button Tap Challenge, Peg Board Game, and someone put all of my tutorials in one app! These were great! The winner gets a Samsung Galaxy Note 3 and a Samsung Galaxy Gear Smart watch thanks to the wonderful people at Samsung. Continue reading Android App Contest Winner

How to Make Android Apps 13

Android Fragment ExampleIn this tutorial I’ll finish up the Android Fragment example I started in part 12. Watch part 12 first. Here is the entire package available for download.

This time will cover how to switch to either an Activity if we are in portrait mode, or how to change the hero data dynamically on the screen if we are in horizontal mode. This is a very useful technique to learn. All of the code follows the tutorial below. Continue reading How to Make Android Apps 13

How to Make Android Apps 12

Android Fragment ExampleIn this tutorial I will provide another Android Fragment example. I have received a bunch of questions about a Android development Fragment example. So, here I’ll cover every line of code in it and I will also show how to change it so that it fits the requirements that many people want.

We’ll cover how to create horizontal and portrait layouts, ListViews, Array Adapters, onSaveInstanceState, ListView events, opening different layouts based on orientation. Continue reading How to Make Android Apps 12

How to Make Android Apps 11

Android Multipane Fragment ExampleIn this video I present the Android multipane Fragment example code many of you have requested. I did my best to create a template you can use in numerous apps. I also did my best to keep the code very short.

We’ll cover creating layouts that contain multiple fragments. We’ll switch between layouts based on screen orientation. We’ll also cover how to use the support libraries and Gradle so that we can use Fragments in older versions of Android. Continue reading How to Make Android Apps 11