Where to find RemoteCallbackList sample code?
On Mar 19, 10:03 pm, Streets Of Boston flyingdutc...@gmail.com
wrote:
I did something similar, however, i did not use a BroadcastReceiver to
get callbacks back from the service.
Instead i used the RemoteCallbackList class:
I did something similar, however, i did not use a BroadcastReceiver to
get callbacks back from the service.
Instead i used the RemoteCallbackList class:
http://developer.android.com/reference/android/os/RemoteCallbackList.html
No fiddling with intents and such. Just define a callback
Sorry, my fault. I was reading PendingIntent.send(). It was what I
meant.
http://groups.google.com/group/android-developers/browse_thread/thread/e5431d6a90b91646/a0892f62e2b42495#a0892f62e2b42495
is my concern.
Dalvik process is a zygoted JVM instance within a Linux process. It's
my
Replying myself, for future reference.
For the scheduling part I used AlarmManager and a Service as mentioned
before.
For the notification back part I ended up using sendBroadcast from
the service and a BroadcastReceiver on my Activity (registering/
unregistering it in onResume/onPause). It works
Besides sendBroadcast( ), how about sentIntent( )? Are your service
and receiver in the same Dalvik JVM process?
Kenny
On Mar 16, 6:16 pm, BoD bodl...@gmail.com wrote:
Replying myself, for future reference.
For the scheduling part I used AlarmManager and a Service as mentioned
before.
For
They are in the same application. The Service is started by the
AlarmManager, so I'm not sure about what you mean by the same 'Dalvik
process'.
I'm also not sure of what you mean by sent(d?)Intent?
Thanks a lot!
BoD
On Mar 16, 2:49 pm, Kenny yxw...@gmail.com wrote:
Besides sendBroadcast( ),
6 matches
Mail list logo