The Code Sample Browser in Android Studio helps you find Android code samples based on the currently highlighted symbol in your project. In your code, highlight a variable, type, or method. Right-click to display the context menu. From the context menu, select Find Sample Code. The results of your search appear in a tool window as shown in.
Android phones, like this Nexus S, allow installation of apps from the Play Store, F-Droid store or directly via APK files.
Android App Templates & Source Codes. Discover 738 Android Templates & Source Codes. These templates & source codes feature full Android Studio or Eclipse projects that can be easily modified and used to create and launch your own Android app. Android app sourcecode is a well known android app making company in bhubaneswar. We make app for every business with affordable price. App Waiting for you. This is “amazing” series of open source projects. See the post published with images: here This is an extremely competitive list of open source Android apps written in Java. It carefully picks the best Android apps written in Java that are open source. To give you an idea about the quality of.
This is an incomplete list of notableapplications (apps) that run on the Android platform which meet guidelines for free software and open-source software.
Advertisement blocking[edit]
Browsers[edit]
Communication[edit]
Privacy/security focused[edit]
Emulators[edit]
Games[edit]
General[edit]
Multimedia[edit]
Navigation[edit]
Reading[edit]
Science and Education[edit]
Security[edit]
Utilities[edit]
Notes[edit]
See also[edit]
References[edit]
External links[edit]
There are a number of third-party maintained lists of open-source Android applications, including:
Retrieved from 'https://en.wikipedia.org/w/index.php?title=List_of_free_and_open-source_Android_applications&oldid=916104809'
Active3 months ago
The hard drive on my laptop just crashed and I lost all the source code for an app that I have been working on for the past two months.All I have is the APK file that is stored in my email from when I sent it to a friend.
Is there any way to extract my source code from this APK file?
Jeroen Vannevel
36.2k1818 gold badges8686 silver badges144144 bronze badges
Frank BozzoFrank Bozzo
6,09366 gold badges2121 silver badges2929 bronze badges
21 Answers
Simple way: use online tool http://www.javadecompilers.com/apk, upload apk and get source code.
Procedure for decoding .apk files, step-by-step method:
Step 1:
Step 2:
Step 3:
Now open another new folder
now you get a file folder in that folder and can easily read the apk's xml files.
Step 4:
It's not any step, just copy contents of both folders(in this case, both new folders) to the single one
and enjoy the source code.
This is an alternative description - just in case someone got stuck with the description above. Follow the steps:
Note: it is not allowed to decompile third party packages; this guide is intended to recover personal source code from an APK file only; finally, the resulting code will most likely be obfuscated
Braiam
3,65699 gold badges3636 silver badges6666 bronze badges
TrinimonTrinimon
12.6k99 gold badges3535 silver badges5757 bronze badges
While you may be able to decompile your
APK file, you will likely hit one big issue:
it's not going to return the code you wrote. It is instead going to return whatever the compiler inlined, with variables given random names, as well as functions given random names. It could take significantly more time to try to decompile and restore it into the code you had, than it will be to start over.
Sadly, things like this have killed many projects.
For the future, I highly recommend learning a Version Control System, like CVS, SVN and git etc.
and how to back it up.
user6408711
Ryan GoolerRyan Gooler
1,79611 gold badge1010 silver badges1414 bronze badges
There is also a new application on the Play Store with which it is possible to decompile an apk (system applications too) and view the source code right on your smartphone. It saves the files to your SD card so you can view it on your computer too. It does not require root or something else.
Just install and have fun. I think this is the easiest way to decompile an app.
CilencoCilenco
2,7751212 gold badges5353 silver badges110110 bronze badges
apktool is the best thing you can try. I have saved some xml with it, but honestly I don't know how it will work with the .java code.
I would recommend you to have a code repository even if your are the only coder. I've been using Project Locker for my own projects. It gives you free svn and git repos.
Nikunj Paradva
3,93122 gold badges2222 silver badges4040 bronze badges
MacarseMacarse
63.5k4040 gold badges161161 silver badges225225 bronze badges
These two articles describe how to combine the use of
apktool and dex2jar to take an APK file and create an Eclipse project that can build and run it.
Basically you:
user6408711
Tom HennenTom Hennen
2,26266 gold badges2828 silver badges3939 bronze badges
apktool will work. You don't even need to know the keystore to extract the source code (which is a bit scary). The main downside is that the source is presented in Smali format instead of Java. Other files such as the icon and main.xml come through perfectly fine though and it may be worth your time to at least recover those. Ultimately, you will most likely need to re-write your Java code from scratch.
You can find apktool here. Simply just download apktool and the appropriate helper (for Windows, Linux, or Mac OS). I recommend using a tool such as 7-zip to unpack them.
Ryan BergerRyan Berger
8,00366 gold badges3939 silver badges5454 bronze badges
There are a few ways to do this:
7,73233 gold badges3434 silver badges4545 bronze badges
May be the easy one to see the source: https://outdoorsupernal893.weebly.com/reformat-hard-drive-for-mac-os-x.html.
In Android studio 2.3,
Build -> Analyze APK -> Select the apk that you want to decompile .You will see it's source code.
Link for reference: SKKSKK
https://medium.com/google-developers/making-the-most-of-the-apk-analyzer-c066cb871ea2
95333 gold badges2222 silver badges4646 bronze badges
I'll show you other way to decompile the .apk files.
You can follow the first 2 steps from 'prankul garg'. So you have another opportunities:
Step 3':
Download the 'JD-GUI', thats easy to found this one.Open your .jar Epson u220 driver download. file in 'jd-gui.exe'. (File > Open file > 'found your .jar file'). After this procedure, you can save all resources in a .zip file.
So,
1st - You have to rename the .apk file to .zip
2nd - You have to decode .dex file (if you want, decode the .apk file to dex2jar, that's possible)
3rd - You have to decode .jar file with JD-GUI
Franklin HirataFranklin Hirata
Below ONLINE tool:
it do ALL by one click: decompiled .java files + resources + xml (in one .zip file) with very good decompiler (jadx return java code in places/functions where other compiles return comments inside function like 'unable to decompile' or some android assembler/machine code)
Vadim Kotov
5,54577 gold badges3636 silver badges4949 bronze badges
Kamil KiełczewskiKamil Kiełczewski
21.4k1010 gold badges9999 silver badges116116 bronze badges
This site https://www.apkdecompilers.com/ did it automatically.
I tried the site mentioned in the accepted answer first but that didn't work for me.
M. Usman KhanM. Usman Khan
![]() ![]()
4,69411 gold badge4141 silver badges5050 bronze badges
I personally recommend Show Java Android App to get the source code. You can download it from play store or from here
CodeloverCodelover
Apktool for reverse engineering 3rd party, closed, binary Android apps.
It can decode resources to nearly original form and rebuild them after making some modifications.
Sap gui download free. It makes possible to debug smali code step by step. Also it makes working with an app easier because of project-like file structure and automation of some repetitive tasks like building apk, etc.
Biswajit KarmakarBiswajit Karmakar
7,66233 gold badges2929 silver badges3636 bronze badges
apktool is THE way to go.Online apktool service exists as well: http://www.javadecompilers.com/apktool
Some limitations, obviously, exist due to the service ‘online nature’: you may extract and research assets and the manifest file, but it is impossible to recompile the application at the moment.
Still, this is a no-hassle way to 'open' the android application.
Andrew RukinAndrew Rukin
You can try DexPatcher. It even integrates with Android Studio. It uses Apktool and Dex2Jar internally. Lakshmikant DeshpandeLakshmikant Deshpande
You can use those tools independently as well.Apktool decompiles apk, and extracts .dex files, which can further be converted to jar using Dex2Jar. Jar can be decompiled by using JD-GUI. You can see the Java code with the help of that tool. Although the similarity of decompiled code to the actual code cannot be guaranteed. There are some advanced code obfuscation tools available in the market, which mess up the code to make it difficult to decompile / understand. eg. Proguard
53911 gold badge66 silver badges2323 bronze badges
Android studio offers you to analyse any apk file.
1 - From build menu choose analyse apk option and select apk file.2 - This will result in you the classes.dex file and other files.3 - Click on classes.dex which will give you the list of folders, packages, libraries and files.4 - From and android studio settings install a plugin called 'Dex to Jar' 5 - click on any activity file of your extracted project and choose dex to jar from the build menu.
This will result in you the actual code of your java file.
Cheers.
Rohit PatilRohit Patil
The simplest way is using Apk OneClick Decompiler. That is a tool package to decompile & disassemble APKs (android packages).
FEATURES
REQUIREMENTS
Java Runtime Environment (JRE) must be installed.
You can download it from this link Apk OneClick Decompiler
Enjoy that.
Masoud MokhtariMasoud Mokhtari
1,12311 gold badge77 silver badges3131 bronze badges
I found the following as the simplest method:
Masood AnwarMasood Anwar
There's an app for that and generally takes just a few clicks and you are done.https://github.com/Nuvolect/DeepDive-Android
After that you can browse the source code, download it to another computer with elFinder or search through it using Lucene.
In addition to Jadx it has CFR and Fernflower decompilers.
MobileMateoMobileMateo
based on your condition, if your android apk:
Choice1: using online service
such as:
using www.javadecompilers.com
goto:
to auto decode from apk to java sourcecode
steps:
upload apk file + click Run + wait some time + click Download to get zip + unzip ->
sources/com/{yourCompanyName}/{yourProjectName}
is your expected java source code
Choice2: decompile/crack by yourself
Lame 3.97 download mac. use related tool to decompile/crack by yourself:
use
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |