[android-developers] Re: Obfuscating Android Library Project

2013-07-23 Thread Felix Garcia Lainez
But how can I do it directly in the project? I know I can use Proguard as and standalone app, but I think that it doesn't work in Android Library Projects... On Sunday, July 21, 2013 8:52:17 AM UTC+2, Piren wrote: > > I haven't tried to obfuscate a jar file after it is made, but you > can defin

[android-developers] Re: Obfuscating Android Library Project

2013-07-23 Thread Felix Garcia Lainez
Yes I know how it works... What I said is that doesn't work as it does with Android application projects... http://stackoverflow.com/questions/8088958/how-to-obfuscate-an-android-library-jar-file-using-proguard-in-eclipse On Monday, July 22, 2013 12:27:06 PM UTC+2, Piren wrote: > > it works fine

[android-developers] Re: Obfuscating Android Library Project

2013-07-22 Thread Felix Garcia Lainez
Yes I understand... I understand that if for instance I pass an String "aaafddfffd" to a function call it will not be obfuscated by default, right? On Monday, July 22, 2013 11:42:15 AM UTC+2, Ourida wrote: > > One obvious thing, you can't work with an obfuscated jar in your project > in dev phas

[android-developers] Re: Obfuscating Android Library Project

2013-07-22 Thread Piren
it works fine (as reiterated by Ourida). According to your other comments i'm not sure if you're fully aware of how to use the obfuscation tool or what it does... i suggest you read up on some material on the subject before continuing. On Monday, July 22, 2013 12:59:04 PM UTC+3, Felix Garcia L

[android-developers] Re: Obfuscating Android Library Project

2013-07-22 Thread Ourida
One obvious thing, you can't work with an obfuscated jar in your project in dev phase. Because the developer who must use, let's say Android Library Project obfuscated that contains a class named Class1, after obfuscation its name will become another thing, so the developer won't be able to know

[android-developers] Re: Obfuscating Android Library Project

2013-07-22 Thread Felix Garcia Lainez
What about using aar? Someone has played with this? http://www.flexlabs.org/2013/06/using-local-aar-android-library-packages-in-gradle-builds On Friday, July 19, 2013 5:11:04 PM UTC+2, Felix Garcia Lainez wrote: > > Hi, > > The case is that we have an Android Library Project that generates a jar

[android-developers] Re: Obfuscating Android Library Project

2013-07-20 Thread Piren
I haven't tried to obfuscate a jar file after it is made, but you can definitely obfuscate it when you build the library project. Just remember to put up rules as to not obfuscate all the public methods you'd like to use as the API for the library (which i guess you forgot). On Friday, July 19,