I made some good progress tonight. I think for the most part it is working, but I actually have to get some in-app purchase items set up in order to make sure. In my efforts to get up to speed with Java, I noticed that when the IMarketBillingService.aidl file is converted to a .java file, it looks pretty much like your C# stub/proxy code above.
Here is what I did: 1. Create a jar with *only*the IMarketBillingService interface. We can both leave all the other ported in-app billing code in C# if we like (which is what I am doing now). 2. I then followed the documentation on adding a "Java Bindings Library" project to my existing solution. 3. Remove the existing C# IMarketBillingService code/usage and replace with "global::Com.Android.Vending.Billing.IMarketBillingService", which should be available from the binding project. Now, in OnServiceConnected, your cast is "MarketBillingServiceStub.AsInterface(service)". 4. Your "purchase observer" methods should now start getting invoked. Hope this helps. I can't do anything more with it today, but I should have time tomorrow night to confirm more. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Binding-Services-casting-interface-on-service-connection-fails-tp5711549p5711613.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid