Back to project page dynamic-load-apk.
The source code is released under:
Apache License
If you think the Android project dynamic-load-apk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ryg.dynamicload.sample.docommon; //from ww w .j av a 2 s .co m public class HostInterfaceManager { /** * this is just a sample, try not to use static field to avoid memory leak */ private static HostInterface hostInterface; public static HostInterface getHostInterface() { return hostInterface; } public static void setHostInterface(HostInterface hostInterface) { HostInterfaceManager.hostInterface = hostInterface; } }