[android-developers] Re: Service to Activity communication with Broadcast Reciever every 1 sec . Is this right approach?

2011-10-11 Thread NikolaMKD
I have to create AIDL for methods from which I'll have access to the service. If I have each player feature(play, next, previous) I'm starting new service with startService(), when onBind() the object that will be returned to be used to control the service will I still have the access to the

[android-developers] Re: Service to Activity communication with Broadcast Reciever every 1 sec . Is this right approach?

2011-10-11 Thread NikolaMKD
Will START_STICKY keep my service running even if the phone is locked or activity is not visible to the user anymore? On Oct 11, 10:21 pm, NikolaMKD nikola.despoto...@gmail.com wrote: I have to create AIDL for methods from which I'll have access to the service. If I have each player

[android-developers] Re: Service to Activity communication with Broadcast Reciever every 1 sec . Is this right approach?

2011-10-11 Thread Studio LFP
You may want to check out a foreground service if you need a high priority service like playing music, etc. http://developer.android.com/reference/android/app/Service.html#startForeground%28int,%20android.app.Notification%29 This should make it a foreground application and help keep it from

Re: [android-developers] Re: Service to Activity communication with Broadcast Reciever every 1 sec . Is this right approach?

2011-10-11 Thread TreKing
On Tue, Oct 11, 2011 at 3:21 PM, NikolaMKD nikola.despoto...@gmail.comwrote: I have to create AIDL for methods from which I'll have access to the service. If I have each player feature(play, next, previous) I'm starting new service with startService(), when onBind() the object that will be