Multiple Apk Support
I am working on application with multiple types choices and every type has different UI, content and operations. If i packaged all activities, xml and drawables files inside same
Solution 1:
You may download the Activities
and other Java classes from the server and load them up, perhaps even Drawables
, but XML part would be a tricky one.
If you can manage to avoid XMLs by creating layouts with Java if Layout
is what you meant by XML, the answer is yes, it is possible.
You will need to explore how to load Java classes at runtime.
Solution 2:
the answer is here
Multiple APK Support -----> The build system enables you to automatically build different APKs that each contain only the code and resources needed for a specific screen density or Application Binary Interface (ABI). For more information see Build Multiple APKs.
Post a Comment for "Multiple Apk Support"