the APK file to be aligned on a 4-byte boundary (4 bytes is a well-performing value) so that the Android system can read the file using the Mmap () function (see the purpose of the function itself) to get higher performance on read resources ,Ps:1. Alignment on a 4-byte boundary means that, in general, the compiler bar 4 bytes are read as a unit, so that the CPU can access the variable efficiently and quic
-keystore demo.keystore */D:\>jarsigner -verbose -keystore demo.keystore -signedjar demo_signed.apk demo.apk demo.keystore/*说明:-verbose 输出签名的详细信息-keystore demo.keystore 密钥库位置-signedjar demor_signed.apk demo.apk demo.keystore 正式签名,三个参数中依次为签名后产生的文件demo_signed,要签名的文件demo.apk和密钥库demo.keystore.*/
Note: The demo.apk in the bin directory of the Android project is signed by default with the debug user, so you cannot use the above procedure to sign the
Simulator (Emulator.exe)
You can locate the run file (f:gphoneandroid-sdk-windows-1.0_r1 ools) in the Tools folder under the installation directory of the Android SDK, and double-click the emulator to run.
Install APK Package
ADB install [-l] [-r]
-Push this package file to the device and install it
For example: adb install f:gphonemycodehelloandroidinhelloandroid.apk
View installation Location
ADB s
on Android project, Android Tools-->export signed application package ...(2) If the system does not have a digital certificate, you can select "Create new KeyStore" to fill in the format of the digital certificate storage path and password.(3) Fill out the details of the digital certificate.(4) Specify the storage path of the APK installation package after the s
This article is the tenth article of the Android Core Development series, the previous stage, we focused on learning and analyzing the Android system startup process, then, from this article, we are ready to introduce how to add, modify, delete system-level app from Android source. As a starting point, let's start with
can use code rendering instead of picture resources;
The reuse of resource files, such as two pages background image of the same color, you can re-use background images, set different color;
How to optimize local code files:
Limit the number of CPU architectures supported by your app, and allow your app to support Armabi and x86 architectures in the current
After knowing the pre-knowledge points of class loading in Android, look at the detailed implementation of Dexclassloader in AndroidThe detailed loading process is as follows:The host program will load the APK "1" into the file system, such as SD card, and then run the activity in the APK with an activity called proxy.About dynamically loading APS. Theoretically
is destroyed, so you want to unzip it or view will prompt the file is corrupted, with the anti-compilation tool will also prompt the file is corrupted, However, it does not affect the normal operation and installation of the Android system and is compatible with all systems.But this apk compression package destroys the same problem as the APK pseudo-encryption,
;packageinfolist) { Packagenamelist. (packageinfo. Packagename} /span>
Com.spencer_dev.test.dev will appear in the package name information that we print out. did not appear com.spencer_dev.test.But! If through the Anti-compilation tool, the APK package to decompile the direct view of the source code, in the Java code in the SRC directory of the package name, and we set the same as Com.spencer_dev.test. The applica
to complete! Oh, a joke first. :)1th Step: Upload the signed apkIf you have a signed apk, please go to the Android Market to publish the website. If you haven't, you need to sign the APK first. If this is your first time posting, you will also need to pay $25 to apply for a Google Wallet account to collect the money.Now, please find the button to upload the
After learning about the pre-knowledge of class loading in Android, take a look at the specific implementation of Dexclassloader in AndroidThe specific loading process is as follows:The host program will go to the file system such as SD card to load the APK "1", and then through an activity called Proxy to perform activity in the APKOn the dynamic loading AP, it can theoretically be used to dexclassload, Pa
Service-must not delete, blood lessons, delete the electronic market can not download things
/system/app/htmlviewer.apk HTML Viewer
/system/app/latinime.apk Moto Input Method extension file-default English input Method-recommended do not delete, after deletion can not invoke English spelling error correction
/SYSTEM/APP/LAUNCHER.APK boot Loader
/syst
, R. raw. up );Down = MediaPlayer. create (this, R. raw. down );Left = MediaPlayer. create (this, R. raw. left );Right = MediaPlayer. create (this, R. raw. right );Enter = MediaPlayer. create (this, R. raw. enter );A = MediaPlayer. create (this, R. raw. );S = MediaPlayer. create (this, R. raw. s );D = MediaPlayer. create (this, R. raw. d );F = MediaPlayer. create (this, R. raw. f );}@ OverridePublic boolean onKeyDown (int keyCode, KeyEvent event ){MediaPlayer mp;Switch (keyCode ){Case KeyEvent.
Reprint Please specify source: http://blog.csdn.net/yyh352091626/article/details/50533137Android's silent installation seems like an interesting and tempting thing to do, but, in common practice, it seems difficult to implement a silent installation if the phone does not have root privileges, because Android does not provide a intent call to display, typically installing the APK in the following ways:Intent
Android development, the ADB tool is indispensable and sometimes unavailable. After you enter Android tools in Windows, you only need to enter ADB and then there will be a large ticket.
Command Prompt, then you can look at it, read it, and then you will understand it. Then you can refer to the android documentation, which is the best. The common estimation is as
Xamarin. Android package Apk, xamarin. androidapk
Because most of the content comes from the Xamarin official website, so this article is defined as a translation, original address: http://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_1_-_preparing_an_application_for_release/Reprinted please indicate the sour
Installation Process: copy the APK installation package to the data/APP directory, decompress and scan the installation package, and save the DEX file (Dalvik bytecode) to the Dalvik-cache directory, and create the corresponding application data directory under the Data/data directory.
Uninstall process: delete the files and directories created under the preceding three directories during installation.
determines whether the APK file is available.Create a temporary installation file/data/COM. Android. packageinstaller/files/apidemos.apkStart the installation confirmation interface startinstallconfirm to list the basic information of the parsed application. If an application with the same name has been installed on your mobile phone, you need to confirm whether to replace and install the application.After
side load to/daa/app and other monitoring directories will not cause Pacakgemanagerservice to install them. Instead, the system will not scan and install them until the next restart of the scan2 adb install APK, in the/data/app directory will create a package-name (such as com.google.xxx) folder, and the apk file is p
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.