You can also use Build.xml to replace fields values within a file...  read 
up on how Ant works.

On Sunday, April 7, 2013 11:12:06 AM UTC+3, Giuseppe wrote:
>
> I have a Consant.java file that manage few static variable for different 
> store:
>
> static private boolean isForGoogleMarket = true;
> static private boolean isForOperaMarket = false;
> static private boolean isForTStoreMarket = false;
> static private boolean isForAmazonMarket = false;
> static private boolean isForSamsungMarket = false;
> static private boolean isForAndroidPitMarket = false;
>
> When I compile the APK for each market, I need to change the value of the 
> const above.
>
> I am looking for a solution to build each apk for each market changing the 
> constant automatically.
>
> Probably Marven config can be the solution, but I really don't know how to 
> do
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to