How to remove a context instance from the createPackageContext
method ?

I used below createPackageContext.


context = _context.createPackageContext(package,
Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY);
klass = Class.forName(classpath, true, context.getClassLoader());
instance = klass.getMethod(FACTORY_METHOD_NAME,
Context.class).invoke(klass, context);


I'd like to remove the "context" instance with resources and codes
included the context.

-- 
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

Reply via email to