Android: app licensing, copy protection
Asked Answered
A

1

15

I have an apk file, that is non-free

My questions is the following:

1, If Copy Protection is set to "true" on the market, the users can copy my apk file from the device or not? (rooted/non rooted) copy apk from device

2, If they can: what is the best way to make a REAL copy protection?

Thanks, Leslie

Anastos answered 15/11, 2011 at 21:54 Comment(1)
Copy protection will be deprecated soon, consider using LVLForb
S
35

1.
Yes they can, in rooted phones: http://theandroidsite.com/2009/11/22/how-to-backup-protected-and-paid-android-applications-for-root-users/

APKs are probably stored in /data/app: Does Android keep the .apk files? if so where?
Access at least via Java code or adb shell terminal from PC.

2.
yorkw already suggested using LVL.
I'm afraid you cannot make 100% bullet-proof copy-protection and thus shouldn't put your energy into that:

  • Any user with a rooted phone can copy your APK and study it.
  • With tools like dex2jar and jd-gui one can see all source code in your APKs.
  • Is there a way to get the source code from an APK file?
  • Most of the identifiers/names in the decompiled source code are scrambled (a,b,c...) but any solid programmer can figure out what your app does.
  • Any dishonest party can copy-paste code from jd-gui to an Eclipse project, build, upload into one's Google Account, and put a price tag... smaller than yours.

My advice is to concentrate on building so good apps that no one can keep up with the pace of your innovation and development.

Separable answered 15/11, 2011 at 23:15 Comment(1)
Thanks I was searching for this answer. specially the last line ;)Saltatory

© 2022 - 2024 — McMap. All rights reserved.