Tuesday, April 30, 2013

[android-developers] Re: Running a song after every one hour..

http://developer.android.com/guide/topics/media/mediaplayer.html
http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED
http://developer.android.com/reference/android/app/AlarmManager.html

Figure it out :)

On Tuesday, April 30, 2013 5:40:59 PM UTC+3, Ravi Tewari wrote:
 
I need to create an app that will play a song after every one hour. The app will be running all the times but in background. As soon as it is 9 o'clock, it will play a song. Once song is over, app should go idle. Again as soon as it is 10 o'clock, it will again play that song. So on for 365*24*7... Even after boot up the device, the app should get started automatically.
 
So is this possible, if yes, can you help/guide me in this?
Appreciate your response !
 
Peaceful time ahead...
 
 

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment