Context中有:在一个应用程序中(App)中获的另外一个应用程序(App)的应用程序实例对象
public abstract Context createPackageContext(String packageName, int flags) throws PackageManager.NameNotFoundException;
参数是应用程序的包名,flags可选为:Context.CONTEXT_INCLUDE_CODE和Contxt.CONTEXT_IGNORE_SECURITY,返回Context就是另外一个应用程序的Context,这样就可以使用这个应用程序的开放出来的代码了。