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.doihost.component; /*w w w .j a v a2 s .c om*/ import android.content.Context; import android.widget.Toast; public class HostComponent { public void doSomething(Context context) { Toast.makeText(context, "I'm a component in host. I do sth.", Toast.LENGTH_SHORT).show(); } }