Instructor: Sultan
Lesson on Services
Hands-on practice tutorial (3 parts)
- http://code.tutsplus.com/tutorials/create-a-music-player-on-android-project-setup--mobile-22764
- http://code.tutsplus.com/tutorials/create-a-music-player-on-android-song-playback--mobile-22778
- http://code.tutsplus.com/tutorials/create-a-music-player-on-android-user-controls--mobile-22787
3 p.m. work on project proposals
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"/>