G
G
godAlex2012-08-08 14:42:34
Android
godAlex, 2012-08-08 14:42:34

How to protect Android application from copying?

What are the ways to protect against copying android applications that will be distributed through GooglePlay? To at least protect against ordinary users. I saw in some applications in the permissions it was said about the permission to pass the license check and the "Android License Verification Library", I'm interested in the software implementation of such checks.
Are there rules for naming a program package (Package Name, for example "your.package.namespace"), if so, what are they?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman, 2012-08-08
@godAlex

developer.android.com/guide/google/play/licensing/index.html
It will help to prohibit (restrict) the work of an unpurchased application, but nothing will help for very popular applications, they will still be hacked.

B
babay88, 2012-10-04
@babay88

the easiest way is to make a free version with ads. plus - in-app purchase - so that the user can buy ad-free inside the application.
thus, you will not have a separate application without ads - which must be protected and not allowed to be copied.
the user generally does not have the ability to fake purchase notifications of anything through google in-app purchases.
plus, of course, you need to use a code obfuscator. at least built-in proguard.
plus - do not store strings that are important for authentication in clear text - but how to get them in a cunning way.
plus - it is possible to get the device ID. which, theoretically, never changes. if necessary, I can write a method by which it can be obtained. due to a bug - built-in code getting can fail in android 2.2 and below. but this is resolved. well, draw your own server that stores - who bought and who did not.
but the best way - really - is to introduce freeloaders into the application's business model.
try to understand how you can use them.
options.
1. advertising.
2. in principle, a freeloader can, after some time, be imbued and pay.
3. Freeloaders contribute to the growth of the application's popularity and, as a result, the growth of sales.
4. there are all sorts of in-app purchases - and the user's wiring for these microtransactions - then you can download it for free. The main thing is to get paid later.
but this does not negate the desirability of obfuscating the code.

C
charliez, 2012-08-08
@charliez

Writing rules - site address in reverse order + application name (although this is not necessary, but something like good manners rules :) )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question