Hi,

I'm  doing something really simple. I have two services A, and B.
Both started with startService. The steps are as follows,

1)First service A calls startService to create service B.
2)Then service B calls bindService to bind to service A.
3)Once service B is bound to A, it calls a method in A through a
IBinder interface that looks like registerCallback(interfaceB).
4)Then service A receives the registerCallback call through IBinder.
The method is executed. So far so good. The problem is that interfaceB
is always null no matter what I do.

I have defined the aidl for InterfaceB as with typical Activity/
Service communication. But no matter what I do, I always get a null
reference.
Any idea on what could be wrong?.

Alberto.




-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to