Blogging is a pleasure, if you have to write, share with others, is another kind of happiness, if you have a stage show, blog Park is such a stage.This article is an essential knowledge of Android developers, which I have specially organized and summarized for you, not perfect, but useful.1. The meaning of the signatureIn order to guarantee the legal ID of each application developer, to prevent some of the open vendors from possibly confusing the inst
Original URL: http://www.cnblogs.com/qianxudetianxia/archive/2011/04/09/2010468.htmlBlogging is a pleasure, if you have to write, share with others, is another kind of happiness, if you have a stage show, blog Park is such a stage.This article is an essential knowledge of Android developers, which I have specially organized and summarized for you, not perfect, but useful.1. The meaning of the signatureIn order to guarantee the legal ID of each applica
Again to the weekend a person wabi at home nothing to do, this is the sorrow of the programmer. All right, let's use the weekend to continue to introduce another way for Android APK to prevent anti-compilation technology. Top three we talked about Shell technology (http://my.oschina.net/u/2323218/blog/393372), Runtime modification bytecode (http://my.oschina.net/u/2323218/blog/396203) and pseudo-encryption
This article briefly introduces how to use the ant script Android project to compile and package it into an APK file and install it on your mobile phone.
Main steps:
1. Generate the R. Java file: Use ant and command line to generate R. Java using the aapt. Ext program provided by Android SDK.2. Generate the. aidl file. Java class file: Use ant and the command lin
". JKs" Files
First we choose Build--Generate signed APK
will appear:
Because we do not have a key (ID) so we are going to generate a key, so here we choose Create New ...(Note: There are two "key password" because one is the password of the key, one is the password of key, but usually we set the time will choose to set the same, so as to facilitate our memory, so here are considered the key password. )
Select Create N
Through the introduction of the official article of the previous translation we have a preliminary impression of Sencha, and we have also generated the first sample application code framework through the wizard, so the next step may be that many people feel that you should look at the details of how an app is built, based on what the wizard suggests. But I think we can change the path of learning.Heaven Zhuhai The rudder is a relatively quick buck, so with the first auto-generated code example,
in fact, an APK file is a. zip format of the compressed package, we can use the decompression tool to open any APK file, due to code obfuscation and encryption, the normal decompression tool to open the inside of the file or directory will see a variety of garbled characters. A typical APK file contains the following content:? Androidmanifest.xmlThe
Company Yun-Dimensional asked me how to install the simulator on Windows, I you say you install simulator what? He said, "I install the simulator to view the app's package name for this information to do statistics."
I immediately thought, it is necessary to toss it?
And I loaded him with the Android SDK to get all the APK information by executing the command build-tools the Aapt.exe file below.
AAPT com
Android obtains information about installed and not installed apk.
PackageManager is the most important class for obtaining apk resources. We can use this class to get all kinds of things we want. First, we can get the basic information of installed apk, including label, and icons:
PackageManager pm = getPackageManage
JavaScriptBasic can. You can open create_project.py to view the source code, there are examples of the creation. You can also save the following code to txt, suffix to bat, double-click Run, but the essence is to execute create_project.py.@echo off set/p projectname= Enter the project name (for example: test): if "%projectname%" = = "goto inputerror set/p packagename= Please enter the project package name (for example: org.cocos2dx.test): if "%packagename%" = = "goto
The example in this article describes the implementation of Android acquiring the MD5 value of APK signature fingerprint to prevent repackaging. Share to everyone for your reference, specific as follows:
Make a record (here is only the Java layer signature Check, Java layer is easy to be cracked, I suggest apk reinforcement)
Obtaining the MD5 value for
shows the result after adding:
Proguard. Config = proguard. cfg # This file is automatically generated by Android tools. # do not modify this file -- your changes will be erased! # This file must be checked in version control systems. # to customize properties used by the ant build system use, # "build. properties ", and override values to adapt the script to your # project structure. # project target.tar get =
Android Application (APK) Compilation and packaging process, androidapkFlowchart: What do we focus on? (1) What is input in this process? (2) What is the output of this process? (3) what tools are used in this process? As for the parameters used, you can view the help files of the corresponding commands or search for them online. This is not the focus of this article. Aapt-> aidl-> javac-> dx (dex)-> apkbui
How to encrypt Android apk and Androidapk
After a busy week, I finally had time to wait and write something. We will continue to introduce another method to prevent decompilation of android apk. The first two articles we talked about shelling Technology (http://my.oschina.net/u/2323218/blog/393372) and runtime modifica
Android 2.2 software can be installed on SD for support, ADB commands have also been improved, for Android 2.2 firmware PM command support installation option parameters, the setinstalllocation parameter is added here. Here we can use ADB to execute the Linux PM command to add some parameters, such as ADB shell PM setinstalllocation 0. The last parameter 0 indicates auto. The
open, click on the left folder to open the newly-compiled jar file,Basically this is the case, roughly look at it, because the confusing code, OK, Mac anti-compilation journey is complete, thank you.Some may have to turn over the wall, I have already downloaded it and offered it to everyone:, http://download.csdn.net/detail/kaixing20/8244619Download file Structure Description:Official website Download does not move: meaning is downloaded from the official website did not follow the tutorial, is
In adnroid, running ADB uninstall directly Cannot uninstall the APK. Attackers can manually uninstall each time they enter settings.
Today, my brother finally couldn't stand it. he deleted the APK directly in ddms. Then run ADB Uninstall!
So brother immediately wrote three scripts: one is to delete the APK, including SQLite and share Pref under it, and the ot
During this time, I was learning about Android Application Development. I was thinking that since it was developed in Java, it should be a good decompilation to getSource codeGoogle, it is really simple. The following is my practice process. I solemnly declare that the purpose of the post is not to crack the software of other people, but it is completely a learning attitude, but it seems that some foreign software can be customized in this way. 1.
Environment: already has the root permission of Android system, our apk is boot startTest: Copy the 2 identical versions below the system System/app directoryThe ADB root #获取root权限, provided that the root permission has been opened, namely: Debug compiled Android system adb remount # will write the system directory to ADB push c:/test_1_v1.
of the transformation, the following to demonstrate the results of the changes, we need an apk to do the test, we randomly get an apk, because here do not want to write a project script, Then replace the system's Proguard.jar tool with our modified Proguard.jar. So just get the Classes.dex file in the APK and convert it to a Classes.jar file. Then put it directl
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.