Obtain the APK information (package name, version, version number, size, permission...) in a pure JAVA environment, and obtain the APK information on the PC end in pure JAVA language. The apk package name
Obtain APK information in
Obtain the APK information (package name, version, version number, size, permission...) in a pure JAVA environment, and obtain the APK information on the PC end in a pure JAVA language.
Obtain APK information in a pure JAVA enviro
Pure Java Environment get APK information: Package name, version, version number, size, permissions ...Pure Java Environment Get APK information requires two packages:Axmlprinter2.jar and Jdom.jar, used to decompile XML and parse XMLProject directoryThis class is the one that gets the
Concise: No more than 5 Java filesDependency: dependent on Aapt.exe onlySupport: Windows onlyFunction: Get the package name, version number, icon file "Get stream to File system" in the APK anthology with pure JavaPrinciple: Compare the previous article by Decompile and then parse Androidmanifest.xml way, this way is more simple, through simulation execution aapt intercept cmd output and organize to obtain
Today, you have a need to download an apk file. After the download is complete, the text of the button changes to click Install. After the installation is complete, the button changes to open.
Here is how to download the apk:
/*** Return the downloaded File after the following Apk is downloaded in the background. ** @ param httpUrl * @ return */private File down
, and the package name information is written to the Android Manifest. but the signature is bound to the APK. Once the APK is decompiled, the signature will automatically disappear. The APK signature requires a signature file. The md5 value of the signature file is basically the same.
There are also three methods for Signature Verification:
1) Java layer Verifica
The laziest way to generate APK is:As long as you run the Android project, you can find the APK file with the same name as the project under the Bin folder of the working directory, which is signed by the debug user by default apk.
If you want to sign apk yourself:
1. The meaning of the signatureTo ensure that the le
[Android's Beauty] APK slimming, reduce the size of the APK
Keep your apk files as small as possible, and you should remove unused code and resource files. So this section describes how to make the apk smaller, better performance, the download conversion rate is higher, and how to specify the code and resource
This article introduces how to use php to automatically extract apk package information after uploading apk (for example, download). If you need a friend, refer to the following to enter the company's first project: market. Therefore, the background must upload APK software. For convenience, after an APK is uploaded, t
The first project to enter the company is to do market market. So backstage to upload apk software and so on. In order to facilitate, upload APK after the system automatically extracts APK files related information, such as: APK package name, product name, version information, APK
Preface:
What is APK?"Application package file"
Simply put, the compiled files and resource files are packaged together in a zip container. Let's just get to know it.
It usually contains the following directories and files:
1. META-INF \ store the signature key;
2. Res \ stores the resource files not compiled into resources. ARSC;
3. Lib \ stores the compilation code of specific software and shares library files;
4. The global configuration file of th
First, prefaceToday, finally, the final article of the break series, the two previous articles were:First article: How to use eclipse Dynamic debugging Smali source codeSecond article: How to use Ida to dynamically debug so filesNow to say is the last article, how to deal with some of the Android APK security protection, in the previous two cracked articles, we can see one is for the Java layer of the crack, one is aimed at the native layer of crack,
The first project to enter the company is to create a market. Therefore, the background must upload APK software. For convenience, after an APK is uploaded, the system automatically extracts information about the APK file, such as the apk package name, product name, version information,
The first project to enter the company is to create a market. Therefore, the background must upload APK software. For convenience, after an APK is uploaded, the system automatically extracts information about the APK file, such as the apk package name, product name, version information,
Android: several common tips for compiling and packaging apk: android: compiling and packaging apk
Today I will share with you three tips for packaging apk with eclipse:
1. Prevent obfuscation and encryption from being decompiled:
1. Open this sentence in the project. properties file (remove "#" before this sentence)Proguard. config =$ {sdk. dir}/tools/proguard/p
I've recently seen Lao Luo's blog on the analysis of Android resource management and APK packaging process, referencing other materials, doing some tidying up, leaving out tedious packaging details and data structures, and outlining the entire process of apk packaging as a whole.Process Overview:1, packaging resource files, generate R.java file 2, processing Aidl file, generate the corresponding Java file 3
Original source anti-compile Android apk and prevent apk program from being decompile how reverse engineer to decompile Android APK
Google Android Development is open source, some of the development process will encounter some features, they do not know how to do, but other software has already had, this time can be used in the way of anti-compilation, t
The lazy way to generate an APK is:If you have run an android project, you can find the APK file with the same name as the project in the bin folder of the working directory. This APK file is signed by the debug user by default.
If you want to manually sign the APK:
1. Significance of Signature To ensure that each
Today, to install two identical applications on Android phones, I thought we could install different versions, tried them several times, and covered each other, so we could only try to modify the package name (package name) of the APK.
Purpose Statement : This article is only to meet the needs of DIY, not to become a packaging party, stealing other people's work, the tools involved in this article are open source, only for learning and exchange.
DIY
I think this should be a lot of people to discuss, I 13 years when the framework has been made, you can run 80% apk, but I am more lazy has not been to write a summary of some of these ideas, today to share with you,Similar Items http://git.oschina.net/lody/Direct-load-apkFirst, let's explore how an APK is started,OK, first you have to install this apk, then you
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.