This certainly can be done with ant, by hacking on the build scripts. In my app, I'm including different additional source folders depending on what "market" I'm building for. The rest of the app's code uses abstract base classes, whose concrete subclasses are implemented in those additional folders (and instantiated using factories).
I understand that the upcoming Gradle based build system should make it easier. -- K 2013/4/8 Giuseppe <porcelli.giuse...@gmail.com>: > Probably my question was wrong! > > I need to build differents APK for each market. > the only change that I need, is the boolean value. > > I am trying to do it with ANT but I don't have too much knowledge for a good > build.xml > > -- > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.