Hello, could someone please tell me how to solve the following issue, if that's possible at all?
I'm including an external JAR that exports a Service and a generic Binder class called LocalBinder<T>. The sample code on how to work with the JAR looks like this: public void onServiceConnected(ComponentName className, IBinder service) { Log.d(LOG_TAG, "Service connected..."); mService = ((LocalBinder<SygicService>) service).getService(); // ... } The IBinder reference is of a different type (Android.OS.Binder) than in this Java sample. The C# LocalBinder class is not a generic one and I have no idea how to get to the Service-Reference of the Binder since I cannot just cast it. I embedded the JAR into a "Java Bindings Library" project and included this one into mine. I can obviously start the service and the onServiceConnected methods is called. Kind regards Christian
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid