I am a new programmer for Android, so please excuse my knowledge and also my English because it is not my first language. So I am having a log with the tag:"szipinf" and text:"Initializing inflate state" and I don`t know what it means.... I also seen that it appears only when I test the game on my phone, on the emulator it doesn't show up. I would really appreciate if someone could tell me what it means.
View your app logsThe Logcat window shows the log messages for the selected app, as selected from the dropdown lists at the top of the window, as shown in figure 1. By default, logcat displays just the log messages for your app running on the device. To change this default, see how to filter logcat messages.
A personal time logging and analysis tool written in Tcl/Tk. Taglog provides an electronic workbook, combining logging of time to projects with keeping a detailed diary of what you actually do.
The Android logging system provides a mechanism for collecting and viewing system debug output, which then can be viewed and filtered by the logcat command. ADB will start collecting logs and start writing them to a text file. Navigate to c:/adb/on your file explorer. The file "txt" will now contain the logs.
Let's search this message through the source code to find who prints the log. StreamingZipInflater.cpp
:
/*
* Streaming access to compressed data held in an mmapped region of memory
*/
StreamingZipInflater::StreamingZipInflater(FileMap* dataMap, size_t uncompSize) {
...
initInflateState();
}
void StreamingZipInflater::initInflateState() {
LOGV("Initializing inflate state");
...
}
The next question we'd like to ask is where and how it's used? In the _CompressedAsset
which is a subclass of Asset
for dealing with compressed files:
/*
* Instances of this class provide read-only operations on a byte stream.
*
* Access may be optimized for streaming, random, or whole buffer modes. All
* operations are supported regardless of how the file was opened, but some
* things will be less efficient.
*
* "Asset" is the base class for all types of assets. The classes below
* provide most of the implementation. The AssetManager uses one of the
* static "create" functions defined here to create a new instance.
*/
More precisely:
static Asset* createFromCompressedFile(const char* fileName, AccessMode mode);
You can find usages of this class in renderscript, BitmapFactory
and other places.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With