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
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
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.