Android SO file concepts, compatibility, adaptation, and possible bugs
Caught or not, all the credit goes to the big guy. When developing Android applications, sometimes the coding of Java layer cannot meet the implementation requirements, SO file needs to be generated after C/C++ implementation, and then used system.loadLibrary () to load and call, which becomes the implementation of JNI layer. Common scenarios such as: encryption and decryption algorithms, audio and video coding and decoding. In generating SO text...
Step by step Android decompiler
Android decompilation typically uses three tools. Apktool, Dex2JAR, JD-GUI. Apktool decompiles XML resource files into viewable files. The class. Dex text has been translated into smALI files. Smali is a language read by the underlying Java virtual machine. We will apK files...
An attempt and summary of the Android NDK's mixed use of 32-bit and 64-bit SO libraries
First of all, we should know that 64-bit devices are compatible with 32-bit SO files. At present, many mainstream apps only place 32-bit SO in APP to reduce the packaging volume of APK. The drawback is that the computing power of 64-bit CPU cannot be fully played when running on 64-bit devices. But I
Android packaging series - multi-channel packaging and signature
Digital signature and multi-channel packaging.
It's time to learn about a Protocol Buffers [Android]
Protocol Buffers is a data description language developed by Google. Similar to XML, it can serialize structured data and be used for data storage and communication protocols. It is language - and platform-independent and highly extensible. Official support for C++, JAVA, Python three programming languages, but you can find a large number of almost all languages cover the first...
Android unit testing is enough for this article
Unit tests are the basic tests in your application's testing strategy. By unit testing your code, you can easily verify that the logic of individual units is correct. Running unit tests after each build can help you quickly catch and fix regression problems caused by code changes (refactoring, optimization, and so on). This article focuses on unit testing in Android. Provides security for code refactoring without optimizing code...
Android Security Internals chapter 2 Permission Translation
As we said in the previous chapter, Android applications run in a sandbox and by default only have access to their own files and a very limited set of system services. To interact with the system and other applications, Android applications can request a set of additional permissions granted at installation and cannot change them (with some exceptions, which are discussed below). On Android, permissions...
PhoneGap Hybrid APP Development (1) : First Android APK
In the past, I have developed many Web applications, such as WECHAT public account RSS. But how do these apps become Android and Apple apps? Of course, you can open a browser directly on Android/Apple, but native apps have many advantages, such as being offline and being able to pack images /
Update your Android app online (for Android6.0, 7.0, 8.0)
App online update is a common requirement. When the new version is released, users will enter our APP, and the update prompt box will pop up to update the new version of APP in the first time. Online update is divided into the following steps: online update on the above steps, the first 2 steps are relatively simple, important is the last 2 steps, and because of the Android versions of the rights and privacy of the acceptance and protection, therefore, there will be a variety of...
APK modification tool: The stub tool DexInjector
This article introduces a tool for piling Dex, and explains the problems and solutions encountered when directly modifying Dalvik bytecode and Dex files