[android-developers] Re: Licensing server, app cracked.

2010-08-27 Thread sblantipodi
no news on the imminent guide where is this guide?

On Aug 26, 5:37 pm, sblantipodi perini.dav...@dpsoftware.org wrote:
 Is this the guide you are talking about?
 To ensure the security of your application, particularly for a paid
 application that uses licensing and/or custom constraints and
 protections, it's very important to obfuscate your application code.
 Properly obfuscating your code makes it more difficult for a malicious
 user to decompile the application's bytecode, modify it — such as by
 removing the license check — and then recompile it.

 Several obfuscator programs are available for Android applications,
 including ProGuard, which also offers code-optimization features. The
 use of ProGuard or a similar program to obfuscate your code is
 strongly recommended for all applications that use Android Market
 Licensing. 

 Is this a guide?

 On Aug 25, 1:26 am, Nick Richardson richardson.n...@gmail.com wrote:

  The guide is linked in the article you posted...

  On Tue, Aug 24, 2010 at 3:53 PM, sblantipodi
  perini.dav...@dpsoftware.orgwrote:

   As title,

  http://android-developers.blogspot.com/2010/08/licensing-server-news

   where is the guide to obfuscate our code?

   --
   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.comandroid-developers%2bunsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

  --
  //Nick Richardson
  //richardson.n...@gmail.com

-- 
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


Re: [android-developers] Re: Licensing server, app cracked.

2010-08-27 Thread TreKing
On Fri, Aug 27, 2010 at 12:32 PM, sblantipodi
perini.dav...@dpsoftware.orgwrote:

 no news on the imminent guide where is this guide?


On Tue, Aug 24, 2010 at 7:01 PM, Trevor Johns trevorjo...@google.com
 wrote:

 It's coming. We have two articles in the queue that will cover this topic.

 As soon as they're ready, we'll publish them.


-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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

[android-developers] Re: Licensing server, app cracked.

2010-08-27 Thread Lance Nanek
There's lots of information on using ProGuard with Android apps if you
just Google those terms. I implemented it once with one of my apps to
see if it would help my frame rates, but decided not to ship it.
Wasn't much performance improvement in my case and not sure if I want
the extra annoyance of having to convert stack traces back.

On Aug 27, 1:32 pm, sblantipodi perini.dav...@dpsoftware.org wrote:
 no news on the imminent guide where is this guide?

 On Aug 26, 5:37 pm, sblantipodi perini.dav...@dpsoftware.org wrote:

  Is this the guide you are talking about?
  To ensure the security of your application, particularly for a paid
  application that uses licensing and/or custom constraints and
  protections, it's very important to obfuscate your application code.
  Properly obfuscating your code makes it more difficult for a malicious
  user to decompile the application's bytecode, modify it — such as by
  removing the license check — and then recompile it.

  Several obfuscator programs are available for Android applications,
  including ProGuard, which also offers code-optimization features. The
  use of ProGuard or a similar program to obfuscate your code is
  strongly recommended for all applications that use Android Market
  Licensing. 

  Is this a guide?

  On Aug 25, 1:26 am, Nick Richardson richardson.n...@gmail.com wrote:

   The guide is linked in the article you posted...

   On Tue, Aug 24, 2010 at 3:53 PM, sblantipodi
   perini.dav...@dpsoftware.orgwrote:

As title,

   http://android-developers.blogspot.com/2010/08/licensing-server-news

where is the guide to obfuscate our code?

--
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.comandroid-developers%2bunsubscr...@googlegroups.com
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en

   --
   //Nick Richardson
   //richardson.n...@gmail.com

-- 
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


[android-developers] Re: Licensing server, app cracked.

2010-08-26 Thread sblantipodi
Is this the guide you are talking about?
To ensure the security of your application, particularly for a paid
application that uses licensing and/or custom constraints and
protections, it's very important to obfuscate your application code.
Properly obfuscating your code makes it more difficult for a malicious
user to decompile the application's bytecode, modify it — such as by
removing the license check — and then recompile it.

Several obfuscator programs are available for Android applications,
including ProGuard, which also offers code-optimization features. The
use of ProGuard or a similar program to obfuscate your code is
strongly recommended for all applications that use Android Market
Licensing. 

Is this a guide?

On Aug 25, 1:26 am, Nick Richardson richardson.n...@gmail.com wrote:
 The guide is linked in the article you posted...

 On Tue, Aug 24, 2010 at 3:53 PM, sblantipodi
 perini.dav...@dpsoftware.orgwrote:

  As title,

 http://android-developers.blogspot.com/2010/08/licensing-server-news

  where is the guide to obfuscate our code?

  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 //Nick Richardson
 //richardson.n...@gmail.com

-- 
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


[android-developers] Re: Licensing server, app cracked.

2010-08-25 Thread sblantipodi
Thanks to Trevor for his reply, I'm really impatient to see this new
doc.

To you keyeslabs, I'm actually using netbeans,
what is the code you posted? An addition to build.xml for eclipse or
Android SDK project?

On Aug 25, 4:27 am, keyeslabs keyes...@gmail.com wrote:
 If you can't wait, here's something to get you started that worked for
 me.  It's what I used to obfuscate AAL, which was a library not an
 Android App, and thus a bit simpler.

 You'll need to adjust what you keep (e.g., don't obfuscate) so that
 you don't shred classes that are referenced by your manifest, or
 you'll have to update your manifest after the fact.

         taskdef resource=proguard/ant/task.properties
                  classpath=/adev/proguard4.4/lib/proguard.jar /

         proguard
           -libraryjars ${android-jar}
           -injars      ${build-location}/license.jar
           -outjars     ${build-location}/license-rel.jar
           -dontpreverify
           -dontoptimize
           -dontshrink
           -dontusemixedcaseclassnames
           -repackageclasses ''
           -allowaccessmodification
           -optimizationpasses 1
           -verbose

           -keep public class com.keyes.license.LicenseManager {
                 public *;
           }

           -keep public class com.keyes.license.CheckLicenseCallback {
                 public *;
           }
           -keep public class com.keyes.license.LicenseException {
                 public *;
           }
         /proguard

 Dave

 On Aug 24, 6:53 pm, sblantipodi perini.dav...@dpsoftware.org wrote:

  As 
  title,http://android-developers.blogspot.com/2010/08/licensing-server-news

  where is the guide to obfuscate our code?

-- 
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


[android-developers] Re: Licensing server, app cracked.

2010-08-25 Thread keyeslabs
That is code from the Ant task generated by the Android tooling.  I
added a new target to do obfuscation, and called it towards the end of
the build process.  What you see here is the contents of my obfuscate
target.

On Aug 25, 5:38 am, sblantipodi perini.dav...@dpsoftware.org wrote:
 Thanks to Trevor for his reply, I'm really impatient to see this new
 doc.

 To you keyeslabs, I'm actually using netbeans,
 what is the code you posted? An addition to build.xml for eclipse or
 Android SDK project?

 On Aug 25, 4:27 am, keyeslabs keyes...@gmail.com wrote:

  If you can't wait, here's something to get you started that worked for
  me.  It's what I used to obfuscate AAL, which was a library not an
  Android App, and thus a bit simpler.

  You'll need to adjust what you keep (e.g., don't obfuscate) so that
  you don't shred classes that are referenced by your manifest, or
  you'll have to update your manifest after the fact.

          taskdef resource=proguard/ant/task.properties
                   classpath=/adev/proguard4.4/lib/proguard.jar /

          proguard
            -libraryjars ${android-jar}
            -injars      ${build-location}/license.jar
            -outjars     ${build-location}/license-rel.jar
            -dontpreverify
            -dontoptimize
            -dontshrink
            -dontusemixedcaseclassnames
            -repackageclasses ''
            -allowaccessmodification
            -optimizationpasses 1
            -verbose

            -keep public class com.keyes.license.LicenseManager {
                  public *;
            }

            -keep public class com.keyes.license.CheckLicenseCallback {
                  public *;
            }
            -keep public class com.keyes.license.LicenseException {
                  public *;
            }
          /proguard

  Dave

  On Aug 24, 6:53 pm, sblantipodi perini.dav...@dpsoftware.org wrote:

   As 
   title,http://android-developers.blogspot.com/2010/08/licensing-server-news

   where is the guide to obfuscate our code?

-- 
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


[android-developers] Re: Licensing server, app cracked.

2010-08-25 Thread sblantipodi
Thanks for your reply, I will wait an official guide since I haven't
used ant tooling
and sincerely I have no intention to switch to it.

On Aug 25, 8:04 pm, keyeslabs keyes...@gmail.com wrote:
 That is code from the Ant task generated by the Android tooling.  I
 added a new target to do obfuscation, and called it towards the end of
 the build process.  What you see here is the contents of my obfuscate
 target.

 On Aug 25, 5:38 am, sblantipodi perini.dav...@dpsoftware.org wrote:

  Thanks to Trevor for his reply, I'm really impatient to see this new
  doc.

  To you keyeslabs, I'm actually using netbeans,
  what is the code you posted? An addition to build.xml for eclipse or
  Android SDK project?

  On Aug 25, 4:27 am, keyeslabs keyes...@gmail.com wrote:

   If you can't wait, here's something to get you started that worked for
   me.  It's what I used to obfuscate AAL, which was a library not an
   Android App, and thus a bit simpler.

   You'll need to adjust what you keep (e.g., don't obfuscate) so that
   you don't shred classes that are referenced by your manifest, or
   you'll have to update your manifest after the fact.

           taskdef resource=proguard/ant/task.properties
                    classpath=/adev/proguard4.4/lib/proguard.jar /

           proguard
             -libraryjars ${android-jar}
             -injars      ${build-location}/license.jar
             -outjars     ${build-location}/license-rel.jar
             -dontpreverify
             -dontoptimize
             -dontshrink
             -dontusemixedcaseclassnames
             -repackageclasses ''
             -allowaccessmodification
             -optimizationpasses 1
             -verbose

             -keep public class com.keyes.license.LicenseManager {
                   public *;
             }

             -keep public class com.keyes.license.CheckLicenseCallback {
                   public *;
             }
             -keep public class com.keyes.license.LicenseException {
                   public *;
             }
           /proguard

   Dave

   On Aug 24, 6:53 pm, sblantipodi perini.dav...@dpsoftware.org wrote:

As 
title,http://android-developers.blogspot.com/2010/08/licensing-server-news

where is the guide to obfuscate our code?

-- 
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


[android-developers] Re: Licensing server, app cracked.

2010-08-24 Thread keyeslabs
If you can't wait, here's something to get you started that worked for
me.  It's what I used to obfuscate AAL, which was a library not an
Android App, and thus a bit simpler.

You'll need to adjust what you keep (e.g., don't obfuscate) so that
you don't shred classes that are referenced by your manifest, or
you'll have to update your manifest after the fact.

taskdef resource=proguard/ant/task.properties
 classpath=/adev/proguard4.4/lib/proguard.jar /

proguard
  -libraryjars ${android-jar}
  -injars  ${build-location}/license.jar
  -outjars ${build-location}/license-rel.jar
  -dontpreverify
  -dontoptimize
  -dontshrink
  -dontusemixedcaseclassnames
  -repackageclasses ''
  -allowaccessmodification
  -optimizationpasses 1
  -verbose

  -keep public class com.keyes.license.LicenseManager {
public *;
  }

  -keep public class com.keyes.license.CheckLicenseCallback {
public *;
  }
  -keep public class com.keyes.license.LicenseException {
public *;
  }
/proguard


Dave

On Aug 24, 6:53 pm, sblantipodi perini.dav...@dpsoftware.org wrote:
 As 
 title,http://android-developers.blogspot.com/2010/08/licensing-server-news

 where is the guide to obfuscate our code?

-- 
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