Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 678 Bytes

File metadata and controls

12 lines (8 loc) · 678 Bytes

Android Dynamic Loader

Sample projects to load dex file (dalvik executable code) and res file (android resources, probably packaged in the same apk file) into the current android runtime environment.

ActivityLoader

You can develop a new version of SampleActivity in project ActivityDeveloper, generate a apk to ActivityLoader/assets/apks/ and launch that SampleActivity in ActivityLoader.

The SampleActivity cannot have it's own resources.

FragmentLoader

You can develop com.dianping.example.SampleFragment in project FragmentDeveloper, generate a apk to FragmentLoader/assets/apks/ and launch that apk in FragmentLoader.

The SampleFragment can also load resources.