Android assigns a separate user space to each APK process. The userid in its manifest corresponds to a Linux User (the Android system is based on Linux. therefore, mutual access to data between different APK (users) is disabled by default.
However, it also provides two types of APK data sharing:
1. Share Preference./Content ProviderAPK can specify interfaces and
package to a directory. Example: D: \ Android-SDK-WindowsThen add the full path D: \ Android-SDK-Windows \ tools to the system PATH variable (this step is mainly used for convenient calling when the APK software is installed in the future)My computer> right-click Properties> advanced> Environment Variables
Note:Add;No.
3. Configure the android SimulatorRun SDK setup.exe (in the E: \ Android-SDK-Windows Directory)Error: a folder failed to be renamed o
installlocation. Only the lowthreshold is available for/Data partitions)Sdinstallargs: copyapk-> (the key points are described below)Installparams: handlereturncode->Packagemanagerservice: processpendinginstall->Packagemanagerservice: installpackageli-> // ARGs, Res AnalysisPackagemanagerservice: installnewpackageli-> // or replacepackageliPackagemanagerservice: scanpackageli-> (key)-> parsepackage (parsing androidmanifest. XML)Installer: Install (mi
Part 1: APK application introduction, unpacking and packaging, common software
Http://blog.csdn.net/kuangren_01/article/details/9318977
Part 2: processing, localization and signature of APK files in Samsung's closed-Source System
Http://blog.csdn.net/kuangren_01/article/details/9319027
Part 3: introduce various APK file packaging and unpacking applications
Http:/
How to preset Android APKThere are four premade APK cases:
1. How to preset the APK with source code into the system?2. How to preset the APK without source code into the system?3. How does one preset the APK so that users can uninstall it and cannot restore it when restoring the factory settings?4. How does one preset
Android assigns a separate user space to each APK process, and the userid in its manifest corresponds to a Linux user (the Android system is based on Linux). Therefore, it is forbidden to access data between different apk (users) by default.
But it also provides the form of shared data between 2 different apk:
1. Share preference. /Content Provider
1, copy the Android-sdk-windows folder to the C drive or D disk or you can find any of the disk directory, note: Not in the Chinese directory!!After the copy is complete, open unity, create a new project, and open the edit-preferences option.2. SDK Address: Click Browse to locate the path of the Android-sdk-windows folder that you just copied, and then click Select Folder as shown in the image on the right.3. JDK Address: Click Browse to find the path to the folder where the JDK is installed (C:
Now Android platform's malicious application apk more and more, slightly inattentive downloading to the handset may cause the backstage to steal runs the traffic, the Malicious Advertisement Bomb window, even steals the privacy. So it is important to pay attention to the security of mobile end intelligent devices. The following PC6 small series to provide several more mainstream for the android application of online drug search site for your reference
As Android application developers, have to face an embarrassing situation, is their own hard to develop the application can be easily compiled by others.
Google also seems to have found the problem, starting with SDK2.3 we can see a Proguard folder under Android-sdk-windows\tools\.
Proguard is a Java code obfuscation tool, through Proguard, others even decompile your APK package, will only see some difficult to understand the code, so as to protect
Find D:\Softwave_Ghost\ technology software in your android-ide \ide\adt_android_eclipse\adt-bundle-windows-x86-20130219\sdk\ Platform-tools Directory has adb.exe CD to this directory and then you can do the ADB operation
or set environment variables
Environment variables, advanced system settings, properties--, My Computer
Or an administrator, open cmd in the path above setpath=
Try the ADB and see how he uses it.
Installing the APK in the emulat
There are 4 types of pre-fabricated apk:1, how to put the source APK preset into the system?2, how to put the non-source APK preset into the system?3, how to preset apk so that users can uninstall, restore factory settings can not be restored?4, how to preset apk so that use
Learn and develop Android apps for a while, write a blog today summarizing Android apk file decompile. We know that after Android app development is complete, we will eventually package the app into an apk file and then let the user download it from the phone or tablet to install it. Under normal circumstances, after the Android app is packaged as an apk, it is n
Love encryption Android APK shell principle Analysisfirst, what is the Packers? Packers are a piece of code that is implanted in a binary program, giving priority to the control of the program at run time and doing some extra work. Most viruses are based on this principle. The process of adding a shell to a PC EXE file is as follows:second, the role of adding shellsShell procedures can effectively prevent the disassembly of the program analysis, in or
Learn and develop Android apps for a while, write a blog today summarizing Android apk file decompile. We know that after Android app development is complete, we will eventually package the app into an apk file and then let the user download it from the phone or tablet to install it. Under normal circumstances, after the Android app is packaged as an apk, it is n
----------------------------------------------------------------------------This article is used only as a learning exchangePlease be sure to indicate the original address if reproduced or quoted:http://blog.csdn.net/luzhenrong45/article/details/47733053or contact [email protected]Thank you!----------------------------------------------------------------------------Note: This article assumes that you are an already owned Android system source code, and the Android source code has a certain under
How to modify the APK file [APK file modification, icon, beautification, advertising] Full tutorial
How to modify an APK file? For example, the English version is simplified to Chinese, beautify, modify functions, icons, Modify text descriptions, and remove advertisements. This article describes the basic knowledge, structure, unpackage, package, and sig
/********************************************************************************************* author:conowen@ Big Clock* E-mail:[email protected] *site:http://www.idealpwr.com / * Shenzhen Power Thinking Technology Development Co., Ltd. N Bsp , NB Sp * http://blog.csdn.net/ conowen and nbsp , NB Sp * Note: This article is original, only as a learning exchange use, reprint please indicate the author and so
Use of the Signing tool
the Signapk.jar of the Android source code can either be signed by the APK or signed by the ROM. Use format:
Java–jar Signapk.jar [W] publickey.x509[.pem] privatekey.pk8 Input.jar Output.jar
-W refers to the parameters that need to be used when signing a ROM
PUBLICKEY.X509[.PEM] is a public key file
PRIVATEKEY.PK8 refers to the private key file
Input.jar
Final Summary:1. Different package apps are not shared by default in different processes.2. Different package apps if you set the same Shareduserid, when their keystore is the same, the data can be shared, not the same process by default.3. Different package apps when the Shareduserid/keystore is the same, set the same android:process in any node in the manifest.xml, and the same android: The node of process is in the same process.APK generally occupies a dalvik, a process, a task. Multiple proc
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.