I wonder what is the best way(if possible) to separate app into multiple independent parts. For example if you have 3 separate units that do different stuff, and you may have 2 different apps that combine 2/3 of this parts, how would you do it?
I'm coming from windows background, where in Visual Studio, you can have multiple independent projects under one solution, and then you can reuse them where you need it.
Can you have this in android? I know I can put things under different packages, but not sure how would do separation of resources.
Is there any difference between using Eclipse or Android studio for this purpose?
Any guidance or resource would be very helpful :)
You can build android-libraries (.aar) for different parts of your applications and bundle all the different part into a main project that simple assemble all the stuff found in the .aar into a single application.