I'm trying to bind a service from an activity and get possibility to call method of it.
These are in different applications (apk) but uses the same sharedUserId and process.

Since they use the same process, Am I obliged to use AIDL or can I use classic IBinder like for Local Service (described on [Android Developer sample](http://developer.android.com/guide/components/bound-services.html)) ? 

I tried both. AIDL works fine and method for Local Service doesn't works, I have an ClassCastException :

```
E/AndroidRuntime(17511): java.lang.ClassCastException: com.example.app.MyService$LocalBinder cannot be cast to com.example.app.MyService$LocalBinder

```

Is it possible to use this method for calling service with two apps in a common "shared" process? Or Is that the use of this shared process still requires an IPC method like AIDL? 

If I want to use classic IBinder, it's for keeping my application as simple as possible. 

Hope you can help me and sorry for my bad english ;-)