Some time ago, the company developed the javaee project and the website provided download for Android applications. The results showed that the APK files downloaded by many 3G online users were changed to zip files, but the database is stored in the APK file path, recently cannot be understood, our company uses apache-
The Apache server's configuration file path is Conf/mime.typesAdd a row of data to the file, as follows:
The code is as follows
Copy Code
. application/vnd.android.package-archive apk
If your thing Apache server, find your Tomcat directory
Add the type of apk to the Conf/web.xml
APK file Structure
Android apps are written in Java, compiled with the Android SDK, and packaged all the data and resource files into a apk (Android Package) file, This is a compressed file with a suffix named. apk, and the
The basic usage of the Linux zip command is:Zip [parameters] [file name after packaging] [packaged directory path]Linux zip command parameter list:-a convert the file to ASCII mode-F attempt to repair corrupted compressed file-H D
extension:
The advantage is that when the program is upgraded, you do not need to download the main extension file again. You only need to download a small number of new files to save the user flow.
How to Use the apk editor? Let me know how to use some of his functions.
Previously downloaded and used! Good stuff! You can clear the paid plug-ins in mobile games! No moreAndroid
Detailed description of the Andriod APK file structure, andriodapk
APK file structure
The APK file is actually a zip package and can be unzipped.
The structure of the
You see this article from HTTP://WWW.CNBLOGS.COM/AYANMWFor an Android apk compile process please refer to:Http://www.2cto.com/kf/201312/261475.html for your activities), compiled into R.java. It allows you to reference your resources from Java code. Aidl: Convert. Aidl interface becomes Java interface Java compiler tool (JAVAC): All Java code (including: Java source, R.java,. Aidl converted interface
Application ScenariosIf you need to batch parse the APK as well as the Classes.dex file in each apk file. How do you extract them? It is a viable option to change the APK name to a. zip file
Players are not familiar with APK. Do you know about APK modification? For example, you can perform Chinese-English Version modification, modify functions, Modify text descriptions, and remove advertisements. This article describes the basic knowledge, structure, unpackage, package, and signature of the APK file, as we
First, let's talk about the APK structure. APK is compressed in ZIP format, which can be easily decompressed.
The structure of an APK file is:
The META-INF \ JAR file is often seen
Res \ directory for storing resource files
Classes.dex in the apk into a jar file.Jd-gui: The Anti-compilation tool allows you to view the source code of the jar package directly.Apktool: The anti-compilation tool can be viewed directly by deserializing the APK in the XML file.Apktool-install-windows-r05-ibot: Secondary Windows Batch processing tool.:Dex2jar:http://code.google.com/p/dex2jar/downloads/listJd-gui:http://code.google.com/p/innlab/downl
actual desired modifications inside the. apk file2. Sign the. apk3. Install the. apk on the device1. The resource in the. apkOpen the. apk file with WinRAR (IF-doesn ' t work, rename the file extension. apk to.
, can not be viewed directly. Second, download APK anti-compilation tool Dex2jar, is to convert the Classes.dex in the apk into a jar fileSpecific steps:(1) Download Dex2jarDex2jar:Http://sourceforge.net/projects/dex2jar/files/?source=navbar(2) To unzip the apk file to get t
The apk file is actually in the zip format, but the suffix name is modified to APK, after decompression through unzip, you can see the Dex file, Dex is the full name of Dalvik VM executes, that is, Android Dalvik execution program, not Java The bytecode of me is the Dalvik b
I want to see the APK source code how to do? Then you need to use the APK Anti-compilation tool.First, the idea of anti-compilation:1) apk file is actually a compressed package. Change the file suffix. apk to.
and the same to ones when compiling. The codes are in a different coding --- smali which is also easy to read and modify.
This tool also supports re-compile the decompiled sources
Into an apk file, which enables us to modify the apk files. For more info, please refer the help info.
This is the most convenient way from my standpoint. It decod
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.