[mono-android] cannot find symbol - compile error

2012-09-03 Thread ddebilt
I'm getting the following error when I inherit from SQLiteOpenHelper: Error 1cannot find symbol symbol : class DatabaseErrorHandler location: package android.database public Db_DatabaseHelper (android.content.Context p0, java.lang.String p1, android.database.sqlite.SQLiteDatab

Re: [mono-android] Binding Services - casting interface on service connection fails

2012-08-29 Thread ddebilt
Mark, I sent an email your way with the .jar & .java file. Let me know if you don't receive it. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Binding-Services-casting-interface-on-service-connection-fails-tp5711549p5711632.html Sent from the Mono for Android mai

Re: [mono-android] Binding Services - casting interface on service connection fails

2012-08-28 Thread ddebilt
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

Re: [mono-android] Binding Services - casting interface on service connection fails

2012-08-27 Thread ddebilt
Mark, thanks for posting that stub code. I just got it in my sample application, and am now seeing exactly what you are seeing. I'll reply if I find out anything new. Before I had tried your code, I tried to message Google Play via the Messenger/Handler mechanism. This was basically how the Messen

Re: [mono-android] Binding Services - casting interface on service connection fails

2012-08-26 Thread ddebilt
In looking through the documentation, it appears AIDL isn't supported yet in Mono for Android (http://docs.xamarin.com/android/tutorials/Creating_Services/Part_2_-_Bound_Services). Though it does look like an alternative would be to use the Messenger class, since a "Bundle" can be passed in a Mess

[mono-android] Binding Services - casting interface on service connection fails

2012-08-26 Thread ddebilt
I'm porting the Google Play IAP example (http://developer.android.com/guide/google/play/billing/billing_integrate.html#billing-service), but running into an issue after service is connected. In "OnServiceConnected", when I try to cast the "IBinder service" type to the interface I want to use it a