Why Not To Share APK File of your Android Project.

Why Not To Share APK File of your Android Project.

 

IF YOU ARE ANDROID DEVELOPER (Read me..)

All applications for Android phones are distributed as APK Files. These files contain all the code, images and other media necessary to run the application on your phone.

If you share your .APK file with some one it directly means that you are sharing your code and resources with him/her. Apk file can easily be decompile. 

Get Images and Resources from APK.

Its very easy to get Images, Media Files and resources from apk.
Change Extension of the file to zip format like myapp.apk to myapp.zip and open it in winRar or any other tool and extract it in any folder. you can get All resources from it.  

Get Java Classes from APK.

In first step we got zip file in that file we should have classes.dex file that contains our Java Code of Application. Move the classes.dex file into the dex2jar folder. Now open command prompt and change directory to that folder (or NEW FOLDER). Then write (for mac terminal or ubuntu write ) and press enter. You now have the classes.dex.dex2jar file in the same folder.
After That you have to download Java decompiler and Decompile the above file, this will provide you java classes of your project 

NOW

simply create new project and copy resource file and Java packages in that project you will be able to get almost 80% of the total code heaving layouts, Resources and Java code. 

Conclusion: If you are a developer and you are very sensitive about your code then don't share Apk file with anyone because its simple to get you costly code from it. 

Purpose of writing This Article is that some organizations ask for your portfolio and your portfolio folder contains APK files that is there concern, they can miss use it.

Rizwan Karim

AI | Blockchain | Offshore Development | Devs Augmentation | MERN Developer | Software Architect | IT Consultant | Programmer

9 年

apk downloaded from store will have same behavior? there are many portals which offer apk grabbing from Play store.

Muhammad Adnan

回复

要查看或添加评论,请登录

Muhammad Intsab Haider的更多文章

  • FaceApp Controversy

    FaceApp Controversy

    From past couple of days, I am watching the controversy against #FaceApp on many Television Channels and Articles, That…

    1 条评论
  • Android Wireless Debugging

    Android Wireless Debugging

    For an android developer mobile data cable is very important for debugging or running project on real device, but in…

  • Image Sending new Technique Suggestion!

    Image Sending new Technique Suggestion!

    Some times we don't have knowledge to discuss about something but we have some questions in our mind who makes us…

    4 条评论
  • Use Event Bus over Local Broadcast Manager (Android)

    Use Event Bus over Local Broadcast Manager (Android)

    While building android application we often need to send and receive events or messages from one activity to an other…

    5 条评论
  • Android studio vs Eclipse

    Android studio vs Eclipse

    Some one Asked me that "I am new on android and what should i select Android Studio or Eclipse?" I replied that Go to…

    6 条评论
  • Rooting Android and its Risks.

    Rooting Android and its Risks.

    First off, what’s rooting? Rooting is a process that allows you to attain root access to the Android operating system…

社区洞察

其他会员也浏览了