Re: [android-developers] use-library causes java.lang.ClassCastException when both apks loaded in one process

2010-07-29 Thread Dianne Hackborn
Yes it does load them through different class loaders. This is working as intended. On Thu, Jul 29, 2010 at 7:57 AM, James Wang wrote: > We have two apks A and B which both import one platform library by use- > library in AndroidManifest. > And they have the same android:process so they run in

[android-developers] use-library causes java.lang.ClassCastException when both apks loaded in one process

2010-07-29 Thread James Wang
We have two apks A and B which both import one platform library by use- library in AndroidManifest. And they have the same android:process so they run in the same process. When A is finished and B is started, we got ClassCastException which happens like codes below: CustomedView view = (CustomedV