Prevent user from copying android application

Asked

Viewed 645 times

-1

I downloaded a program called apk share in the playstore, this application copies the apk of any program that is installed on the android device. The question is how not to allow this application to back up information?

I know there are programs like Avast anti virus that have option to block the use of some programs, but the problem is that if the user downloads my app from the play store he can copy it through apkshare and distribute it for free to other people.

In the Manifest settings there is an attribute called android:allowBackup, but from what I understand this attribute only allows or not the backup of the cloud application. Even because I left this option disabled and still managed to copy my apk.

  • 1

    If you don’t want it to be distributed for free, what you have to do is block from your side, creating a single authentication per purchase/user/access/device id/whatever. You want to block it without that kind of validation is stupid.

  • That’s what @Maiconcarraro said is the least of it. Also, if your app is really worth it, guys open the apk and remove this lock. Unfortunately the reality is that if you don’t want your app to be "hacked", don’t post.

  • Relax, guys... I’m aware of all these facts. Soh wanted to strengthen with more professionals on this subject.

1 answer

2


It is very difficult to make APK 100% protected for the following reasons:

  • Any user with a phone rooteaded can copy your APK and study it.

  • With tools like leave and Jd-Gui if you can see all the source code in your Apks.

  • Even though most compiled source code identifiers do not provide the classes with the correct names, a good programmer could figure out what your application does.

  • Anyone dishonest can copy their source code (using Jd-Gui for example), download it to Android Studio and create an app entirely based on your.

  • Anyone can reverse engineer in your app, until why it’s not so hard to deduce how an app was written just by looking at its interface.

Therefore, the ideal would be for you to focus on building applications so good and with such a high degree of innovation that no one can follow their development. To do so, try to write codes that are easy to understand, expand and maintain, because these are the main features of the best apps on the market.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.