aaronk Well-Known Member Licensed User Longtime User Aug 23, 2012 #1 Hello, Just wondering if someone got a APK file could they view the source code to that file? Or, is it like a .exe file that you can't view the source code once it has been created?
Hello, Just wondering if someone got a APK file could they view the source code to that file? Or, is it like a .exe file that you can't view the source code once it has been created?
mc73 Well-Known Member Licensed User Longtime User Aug 24, 2012 #2 You can always reverse engineer executables. Upvote 0
margret Well-Known Member Licensed User Longtime User Aug 24, 2012 #3 It is like an .exe file. The source is not there for the most common customer. But like mc73 said, it can be decompiled just like an .exe file can. In most terms you are as safe with an .apk file as you are the .exe file. Upvote 0
It is like an .exe file. The source is not there for the most common customer. But like mc73 said, it can be decompiled just like an .exe file can. In most terms you are as safe with an .apk file as you are the .exe file.
rbsoft Active Member Licensed User Longtime User Aug 24, 2012 #4 An apk file is actually a zip file. If you have a "xyz.apk" rename it to "xyz.apk.zip" or so, open it with a zip program. Then you can view it's contents. You can use Code Obfuscation in B4A to make Reverse engineering a little more difficult. Rolf Last edited: Aug 24, 2012 Upvote 0
An apk file is actually a zip file. If you have a "xyz.apk" rename it to "xyz.apk.zip" or so, open it with a zip program. Then you can view it's contents. You can use Code Obfuscation in B4A to make Reverse engineering a little more difficult. Rolf
warwound Expert Licensed User Longtime User Aug 24, 2012 #5 dex2jar can be used to decompile the APK's dex files back to java jar files. From there jd-gui can be used to view the jar source code. Martin. Upvote 0
dex2jar can be used to decompile the APK's dex files back to java jar files. From there jd-gui can be used to view the jar source code. Martin.