Visit LEDU token page

How to Build Android Music Streaming App

How to Build Android Music Streaming App

  • English
  • Programming
  • AndroidAndroid
  • (1963)
  • Project length: 17h 12m

0

Overview

The API Call to Spotify has stopped working because they now require authorization tokens. Go here check the curl example and modify the get method of the SpotifyService interface accordingly.

What are the requirements?

  • Android Studio and SDK here
  • Oracle JDK here
  • Basic understanding of the Java programming language
  • Familiarity with xml
  • Passion and Drive to learn
  • A good dose of motivation

Streaming schedule

  • Every day @ 12:00 pm (1-2 hrs) EST
  • Project Start Date: Tuesday, May 16, 2017
  • Project End Date: Thursday, May 25, 2017

Project Outline

Session 1: Setup Environment

  • Show where to get android studio
  • Show where to get JDK
  • Give an overview of Android Studio
    1. How to create a project
    2. How project is structured
  • Give overview of gradle
    1. Build files
    2. Adding dependencies
  • Explain the project
    1. Set the project goal
    2. How to tell if the goal was achieve
  • End Session 1

Session 2: Building Data Class

  • Explain Spotify web Api
  • Give overview of JSON
  • Start building data classes
    1. BaseItem
    2. Album
    3. Artist
    4. ExternalUrl
    5. SImage
    6. STrack
    7. STracks
  • End Session 2

Session 3: Building Data Class cont'd

  • Show auto import and how to create Emulators
  • Introduce Retrofit here
  • Introduce Gson here
  • Introduce Picasso here
  • Show how to add dependencies
    1. compile 'com.google.code.gson:gson:2.8.0'
    2. compile 'com.squareup.retrofit2:retrofit:2.1.0'
    3. compile 'com.squareup.retrofit2:converter-gson:2.1.0'
    4. compile 'com.squareup.picasso:picasso:2.5.2'
  • Build more Class and Interface
    1. Config
    2. SpotifyService(for retrofit)
    3. Spotify(singleton)
    4. SpotifyTrackAdapter(ListView)
  • End session 3

Session 4: UI Development

  • Build track_list_row.xml
  • Build activity_main.xml
  • Build activity_player.xml
  • Create Image assets
    1. Pause
    2. Play
    3. Next
    4. Previous
    5. Shuffle
    6. Repeat 1
    7. Repeat all
  • End session 4

Session 5: Wiring the UI

  • Code main activity to connect code to UI
  • End Session 5

Session 6: Wiring the UI, Testing, and Bug fixes

  • Code player control buttons
  • Test
  • Debug
  • End session 6

Session 7: Wiring the UI, Testing, and Bug fixes cont'd

  • Code player control buttons
  • Add functionality to buttons
  • Test
  • Debug
  • End session 7

Session 8: Testing, and Bug fixes cont’d

    • Add Seek Bar
    • Add song thumbnail
    • Create a utility class
    • Add functionality to Seek Bar
    • Test
    • Debug
    • End session 8

Session 9: Publishing to play store

    • Show how to use keytool
    • Show how to make different builds
    • Build and sign APK
    • Upload to Play store
    • End session 9

Reviews

Average rating

5(1963 Reviews)
  • Avatar

    Mortal_X

    6 months ago

    The media could not be loaded, either because the server or network failed or because the format is not supported.