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

2011-10-11 Thread NikolaMKD
I'm creating media player application that will run on service and all its action (all intent actions stated in the manifest file of course) What I did is, I created Runnable in my service that will sendBroadcast whenever I do handler.postDelayed(myRunnable, 1000); private Runnable

Re: [android-developers] 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 1:58 PM, NikolaMKD nikola.despoto...@gmail.comwrote: 3. Is there any rather better approach than this one? Point me some... http://developer.android.com/reference/android/app/Service.html#LocalServiceSample