Well, I don't have the source for some app. I already decompiled the apk and decompiled the jar file. Now, my question is how do I edit the .class file? Is there any way to do that? Any help with links would be appreciated.
Thank you guys
Printable View
Well, I don't have the source for some app. I already decompiled the apk and decompiled the jar file. Now, my question is how do I edit the .class file? Is there any way to do that? Any help with links would be appreciated.
Thank you guys
Usually that process involves breaking a law, so beware what you decompile. You probably didn't get any .java files because the source was not packed. Which makes a flag stand out on the "might be illegal" category, but does not necessarily mean it is. You can turn the .class into .java with a different program but all non-keywords are not going to be so easy to understand without really knowing how to see what is there. If you can get the original .java files like they said above, that is the best option as the .java files are likely to have good variable/method/etc names, comments, and possibly even javadoc. You can get to the same point (access to functional source code) both ways, but .java files are the easiest as far as what you have to do.
What source code do you have? Post a sample or describe what exactly you have. What format it is in etc.
What do you mean by edit it? Post the code you have questions about editing.