[android-developers] Build 2 apk same time?

2011-04-28 Thread Sunil Lakhiyani
Hello Developers, I am building an app using jenkins/ hudson. My application is using 2 URLs, first for lab testing and another one is for production. We have 2 teams one is in US and another one is in JAPAN for testing. So I need to create 2 apks same time. Right now what I am doing is I

Re: [android-developers] Build 2 apk same time?

2011-04-28 Thread Kumar Bibek
Do you know ant scripts? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Apr 29, 2011 at 1:16 AM, Sunil Lakhiyani slakhiyaniandr...@gmail.com wrote: Hello Developers, I am building an app using jenkins/ hudson. My application is using 2 URLs, first for lab testing

Re: [android-developers] Build 2 apk same time?

2011-04-28 Thread Sunil Lakhiyani
yes i do. can you please tell what do you want to say? how do i change url using ant, as url is in java file. On Thu, Apr 28, 2011 at 12:48 PM, Kumar Bibek coomar@gmail.com wrote: Do you know ant scripts? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Apr

Re: [android-developers] Build 2 apk same time?

2011-04-28 Thread Kumar Bibek
You can have a variable in a properties file (is_production = true/false), and have a Java class that reads this file and switches the URL accordingly. In your build.xml, you can also check this variable, and name the output apk accordingly. Refer this link :