Android App Development: Create a Spotify Clone

Stream your music collection and learn how to play and control music on Android
4.3 (33 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,211 students enrolled
$19
$20
5% off
Take This Course
  • Lectures 58
  • Length 6 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 2/2016 English

Course Description

Music is one of the biggest app categories on Google Play. You have the potential to earn substantial revenue from any music app you create!

Learn the basic concepts, tools, and functions that you will need to build a fully functional Android music streaming app with the programming language, Java. Also learn how to set up your own server and upload music that your app will eventually play.

Things You'll Learn

  • Android Studio Installation and Setup
  • Basic Streaming Functions on Android
  • How to Setup a Server (free or paid)
  • How to Automate Music File indexing on a Server Using PHP (no PHP experience necessary)
  • How to Make an Android App Communicate with a Server
  • How to Add Lock Screen Controls
  • How to Handle Audio Interruptions like Phone Calls
  • How to Create List Views and Custom List View Rows on Android
  • Dynamically Add More Data to Your App and Remote Database
  • Liking a Track Through Your Remote Database

Powerful Skills at Your Fingertips
By learning to create both Android apps as well as PHP and MYSQL backends you will become incredibly valuable to potential employers. Combining these 2 skills is the number one reason developers get hired for startups. Those startups need this information and are willing to pay for it!

------------BONUS-----------

Not only do you learn the ins and outs of streaming music on Android apps but this course includes a MASSIVE bonus. I teach you how to create and setup a fully functional server that does the following:

  • Automatically scan for new music uploads and add them to a MYSQL database (with no input required from you)
  • Produce PHP files that allow your app to access a backend

------------------------------------

Content and Overview
No knowledge is needed of programming for this course but it helps. If you are a complete beginner then please take simple Java basics course FIRST.

You will be taken on a journey through:

  • How to choose between free or paid servers
  • How to code a simple streaming function on Anroid
  • How to add advanced audio features to your app
  • How to make your app talk to a server (aka - creating a backend)
  • How to report app usage statistics to your remote database

This course establishes a strong understanding of music app creation concepts and includes training on Android and Java. It also includes training on MYSQL, PHP and cPanel. Each chapter starts with an introduction and ends with a summary to help you learn even better.

Complete this course and you'll have skills that are continuously in demand from most businesses.

Increase your value by joining now!

Credit: Promo music provided by Ben Sound

What are the requirements?

  • A PC or Mac running Android Studio (free)
  • Access to a server (free or paid) running cPanel (most servers run cPanel)

What am I going to get from this course?

  • Create an Android Music Streaming App
  • Create a Fully Functioning Server to Stream any Media They Like
  • Understand the CORRECT way to Play Music on Android (vital information)

What is the target audience?

  • Those who have coded a little bit in any language should take this course
  • Complete beginners should take a Java course first (even a short one will help)

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction and Environment Setup
Introduction
Preview
07:09
Setup Android Studio and Simulators on a Mac
07:41
Setup Android Studio and Simulators on a PC (Windows)
06:14
Section 2: Server Setup and Testing
Introduction to Server Setup
Preview
01:02
04:44

Free servers are everywhere but they are overcrowded. It's always better to opt for a paid server over which you have much more control. The good news is you can get for less than $5 per month (includes a domain). If you intend to develop apps in the future then having your own test server is a really good idea!

The next sections are labelled one or two. Choose the most appropriate one for your use case.

Option 1: Setting up a Free Server
01:09
Option 2: Setting up a Paid Server (Much More Control)
04:29
How to Upload Your Files to a Server
04:44
Create Your Server Database Using cPanel
06:56
Create a PHP Script to Add Uploaded Music to the Database - Part 1
09:59
Create a PHP Script to Add Uploaded Music to the Database - Part 2
09:49
03:23

We navigate to the server address containing our MP3s. If they play then the server is setup and ready to rock and roll!

Section 3: A Really Simple Android Music Streaming Function
Introduction to Simple Streaming
Preview
01:04
Setting up our Project in Android Studio
06:33
How to Create a Simple Streaming Function in Android
12:09
Correct Threading Patterns for Android Streaming Audio
13:44
Summary of Really Simple Android Music Streaming Function
01:25
Section 4: Basic Control of Media Players on Android
Introduction to Basic Control of Media Players on Android
Preview
01:10
Adding a Play Pause Button to our App
08:59
Connecting up the Streaming Player and the Play Pause Button
05:55
How to Toggle the Play Pause Button Icon
06:14
Debugging an Android App
02:48
Summary of Basic Control of Media Players on Android
01:30
Section 5: Background Audio Streaming on Android using Services
Introduction to Background Audio Streaming on Android using Services
Preview
01:31
What is an Android Service?
00:54
Creating an Android Service to Play Music
11:08
How to Communicate From a Service to an Activity on Android
11:57
How to Communicate Between an Activity and a Service - Binding
13:19
Summary of Background Audio Streaming on Android using Services
01:50
Section 6: Advanced Audio Streaming Features on Android
Introduction to Advanced Audio Streaming Features on Android
Preview
02:13
Moving a Service to Foreground - Part 1
13:57
Moving a Service to Foreground - Part 2
18:24
Moving a Service to Foreground - Part 3
06:48
How to Request Audio Focus on Android
09:10
How to Respond to Audio Interruptions on Android
10:46
How to Handle Earphone Unplugging on Android
06:41
Summary of Advanced Audio Streaming Features on Android
01:02
Section 7: Retrieving a List of Songs from a Remote Database
Introduction to Retrieving a List of Songs from a Remote Database
Preview
01:00
Creating the PHP Access Script to Return Database Results to our App
09:16
How to Make a Web Call to a Database on Android
15:11
Creating the Song Class to Hold Retrieved Music
05:32
Parsing PHP Results into a List of Songs
07:34
Summary of Retrieving a List of Songs from a Remote Database
01:10
Section 8: Displaying a List of Songs in a List View on Android
Introduction to Displaying a List of Songs in a List View on Android
Preview
00:46
What is a List View Exactly?
01:47
Creating a List View (termed ListView) using Android Layouts
05:41
How to Create Custom Rows for Android List Views
03:25
How to Populate a List View and its Custom Row with Data
13:18
Starting Music Playback When a List View Item is Tapped
03:23
Summary of Displaying a List of Songs in a List View on Android
00:37
Section 9: Adding Extra Functionality to our Spotify App
Introduction to Adding Extra Functionality to our Spotify App
Preview
01:06
Creating a PHP Script to Increment Number of Plays in our Database
08:36
Keeping Track of Each Time a Song is Played
11:36
Creating a PHP Script to Like a Track in our Database
02:08
How to Like a Playing Song
09:18
Summary of Adding Extra Functionality to our Spotify App
00:54
Section 10: Summary and a Gift For You
Summary of Everything You Have Learnt
04:09
Final Thank You and a Free Gift
01:10

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Mr Grant Klimaytys, Professional App Developer and Teacher

Swift 3 on iOS, a little Java here and there and C# for Xamarin. I'll show you how to use them all!

When you learn from me you learn in an holistic manner. You learn concepts that are applicable to ALL mobile systems.

My aim is to get you qualified mighty fast, with very little hair tearing from frustration!

And what does that mean for you?

You'll be able to make your own apps to earn passive income. Or you could become a freelance developer which I can honestly say it is the best life in the world. You will have no boss and earn an hourly rate of over $100. You can also take holiday whenever you want!

Of course you have to learn how to make good apps first so take my courses now and you will see how easy mobile app development can be!

Ready to start learning?
Take This Course