This blog is created in a view to help the students of Computer Science and Engg., by providing them the study materials which helps in their academics.
Tuesday, 23 September 2014
Tuesday, 9 September 2014
Copy USB Drive contents to PC automatically without action Silently
Topic:Copy USB Drive contents to PC automatically without action Silently
Instead of running each time copying files Function from the device USB your hard disk, you can automate copying all the contents of the pen drive on the hard drive of your PC without any user action.
This is useful many a times when you want to copy data content from your friend who doesn’t want to share or allow you to copy.
AutoUSBCheck is a small software designed to facilitate the use of these devices for mass storage.
By default,
the software does not start automatically at boot, but you can make this happen simply by setting the option.
Once you launch the software from the Windows Start menu, select the option Run on Windows startup.
The free version allows you yo copy silently all the contents running in background while the paid version allows to change the directory where the content will be copied.
This freeware can run completely invisible. No icons, no progress bars, no prompts, it just does the job.
Download AutoUSBCheck
---------------------------------------------------------------------------------------------------------------
Disclaimer : The Admin is not responsible for any misuse of this software. This is only for educational purpose only.
How to get Java Source code from jar files
Topic: How to get Java Source code from jar files
Here in this post
we will learn how to get Java Source files from .jar files.
What is .jar file ?
jar is acronym of the Java Archive file. basically it contains all java
class files and packages that are required or created to build an
application. Jar file may also store images and metadata files that are
associated with application. Jar file allows Java runtime to efficiently
deploy a set of classes and their associated resources. jar files can
be created using the command "jar" that is installed when Java Virtual
Machine is installed.
We can extract contents of .jar file using "jar -xf filename.jar" but it
gives .class files and other metadata files that are associated with
application. Using jar command does not give us .java files from jar
file. So in order to get .java files from .jar file we need to use a
tool called Java Decompiler which you can download from given link.
4 Easy steps to get java files from .jar files
- After downloading java decompiler from above link extract it and open jd-gui.exe by double clicking it.
- Now goto Files menu and select open File menu press ctrl+o and browse to the location where you have stored your .jar file and select .jar file and click open.
- All packages and java files will be loaded and now you just need to save those source files by selecting the menu "save all sources" from Files menu.
- Select the location where you want to save java source files and press save button, it will create zip file that you need to extract in order to view each source file.
Download Java Decompiler
--------------------------------------------------------------------------------------------------------------
Published By: ADMIN
How to get source code from apk file
TOPIC: How to get source code from apk file
What is .apk file?
APK file is nothing but Android Package File(APK). APK is the file format used to distribute and install application software and middleware on Google's Android operating system.
Apk Files are Zip file formatted packages based on the JAR file format, with .apk extension. Apk files contains all program resources and code i.e it contains .dex files, resources, assets, certificates, and manifest file.
How to get source (java files) from .apk file?
As we now know that apk file is just a zip file containing all program resource file, we can now get java code from apk files with ease. Following are steps to get java code from apk files.
Step 1:Renaming .apk file
- Rename the .apk file with the extension .zip (for example let the file be "demofile.apk" then after renaming it becomes "demofile.apk.zip").
Step 2:Getting java files from apk
- Now extract the renamed zip file in specific folder, for example let that folder be "demofolder".
- Now Download dex2jar from the link for windows and extract that zip file in folder "demofolder".
- Now open command prompt and go to the folder created in previous step(i.e. the folder newly created after extraction) and type the command "dex2jar classes.dex" and press enter.This will generate "classes.dex.dex2jar" file in the same folder.
- Now Download java decompiler from the link and extract it and start(double click) jd-gui.exe
- From jd-gui window browse the generated "classes.dex.dex2jar" file in demofolder, this will give all the class files by src name.
- Now from the File menu select "save all sources" this will generate a zip file named "classes_dex2jar.src.zip" consisting of all packages and java files.
- Extract that zip file (classes_dex2jar.src.zip) and you will get all java files of the application.
---------------------------------------------------------------------------------------------------------------
Step 3:Getting xml files from apk
- Download apktool and apktool install from the link and extract both files and place it in the same folder (for example "demoxmlfolder"). A separate folder(i.e not the folder created for extraction of java files).
- Place the .apk file in same folder (i.e demoxmlfolder)
- Now open command prompt and goto the directory where apktool is stored (here "demoxmlfolder") and type the command "apktool if framework-res.apk" or "apktool if (filename).apk"
- Above command should result in "Framework installed ..."
- Now in command prompt type the command "apktool d filename.apk" (where filename is name of apk file)
- This will generate a folder of name filename in current directory (here demoxmlfolder) where all xml files would be stored in res\layout folder.
Published By ADMIN
Subscribe to:
Posts (Atom)
