Hi again, in case of anybody being interested I may post the solution.
Alberto. On Thursday, March 1, 2012 8:19:28 PM UTC-3, Alberto Andreotti wrote: > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

