Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to change some sources of .java file, I want to get .java file of an apk android file! Please help me.
Posted
Updated 25-Aug-15 9:38am
v2

1 solution

What you need requires reverse engineering, or something really unworthy; idiotic. If that is your own application, why cannot you edit the source code that you wrote for it? It is very careless of yours to lose the source code!

If you don't have the source code (and you own the application; you wrote it) you can try to decompile it, get the disassembly for that application.

There are a few threads to some useful programs that convert the APKs to Java source code for the application:

1. http://stackoverflow.com/questions/1249973/decompiling-dex-into-java-sourcecode[^]
2. http://forum.xda-developers.com/showthread.php?t=873466[^]
3. http://code.google.com/p/dex2jar/wiki/ModifyApkWithDexTool[^] (Do give this one a look)

One thing, if that is not your application, do not consider applying reverse engineering to it. You can create a similar application yourself! By writing the Java code, rather than crafting it back from the binary.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900