android context 获得

//     Context c = createPackageContext(

//     "com.atyun.apps.android.yundianjia",

//     Context.CONTEXT_INCLUDE_CODE

//     | Context.CONTEXT_IGNORE_SECURITY);

//     Class  clazz = c.getClassLoader().loadClass("com.atyun.apps.android.yundianjia.MyStoreUp");

//     Object owner = clazz.newInstance();

//     Object obj = clazz.getMethod("initStoreUpPage", String.class).invoke(owner,c,"top");

原文地址:https://www.cnblogs.com/andicu/p/3680404.html