>From the second app, you can create a Context that is the same as that of the first app using createPackageContext(), http://developer.android.com/reference/android/content/Context.html#createPackageContext(java.lang.String, int) This Context will give access to the ClassLoader used by the first app (call getClassLoader() on the Context) if you include the CONTEXT_INCLUDE_CODE flag in the createPackageContext() call. Since both the apps are running in the same process the createPackageContext() call will not throw a SecurityException. Within the second app, loading the common class through the acquired ClassLoader will give both apps access to the same static fields.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

