Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it legal to decompile an APK and use part of its code in your app

Tags:

decompiling

Is it legal to decompile an apk and use part of it's code? (more specifically: a URL connector (I haven't learned that yet)).

The rest of the app (layouts and such) is made by me. Can I publish this app without being concerned on the legal front?

like image 319
Felipe Suman Avatar asked Mar 12 '12 20:03

Felipe Suman


People also ask

Is it illegal to decompile an app?

Higher-level reverse engineering such as decompilation is illegal as it is a threat to the ideas and intellectual property of the software creators via recreating the source code, which is the protected element.

Can we extract source code from APK?

Use apktool to get the resource files out of the apk. Use dex2jar to get a jar file that contains the classes in a format that Eclipse will like. Create an Eclipse project point it at the resource files and the new jar file. Open the jar file with a zip utility and delete the existing resources.

Is decompiling game code illegal?

However, decompiling a program to circumvent a system that controls access to copyrighted work is considered illegal.

Is Java decompiler legal?

Not all uses of decompilers are Illegal. Companies have tried to sue to stop it, but; that's only civil, not criminal, and therefore not illegal; and they've only won when the content was given to an outside party from whom the companies did not receive payment, that the person has been shown to break the law.


1 Answers

Decompiling is absolutely LEGAL, regardless of what the shills say. At most, you can be sued for unauthorized activity relating to software unless you're redistributing it. Courts in the U.S. have always upheld the right of users to know exactly what code is being installed on their systems by programs they have legitimately obtained.

People REALLY need to quit saying "ILLEGAL" unless they know what they're talking about. There is absolutely NO law in the U.S. that states you cannot copy for private purposes or decompile software. Companies have tried to sue to stop it, but; a) that's only civil, not criminal, and therefore not ILLEGAL; and b) they've only won when the content was given to an outside party from whom the companies did not receive payment. IE the person has been shown to break the law.

like image 107
John Avatar answered Jan 05 '23 02:01

John