Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.02 KB

18_Services.md

File metadata and controls

31 lines (19 loc) · 1.02 KB

Services

Instructor: Sultan

Morning

Lesson on Services

Afternoon

Hands-on practice tutorial (3 parts)

  1. http://code.tutsplus.com/tutorials/create-a-music-player-on-android-project-setup--mobile-22764
  2. http://code.tutsplus.com/tutorials/create-a-music-player-on-android-song-playback--mobile-22778
  3. http://code.tutsplus.com/tutorials/create-a-music-player-on-android-user-controls--mobile-22787

3 p.m. work on project proposals

Exit Ticket

Please submit the exit ticket here.

Exit Ticket Questions & Answers:

Q1. What are the two methods for an activity to start a service?
A. startService(intent) and bindService(intent)

Q2. What are the two types of Service classes that Android provides for us to extend from?
A. Service and IntentService

Q3. What tag do you add to AndroidManifest.xml when creating a new Service?
A. <service name="someServiceClassName"/>