2012-01-26 2 views
7

私はAndroid用の新しいプログラマです。私の知識と私の英語は私の母国語ではないので、 。 「szipinf」というタグと「Initialize inflate state」のタグが付いたログがあり、それが意味することはわかりません....また、携帯電話で試合を試してみると、エミュレータでは表示されません。誰かが私にそれが何を意味するか教えていただければ幸いです。タグからのログの意味:「szipinf」とテキスト:「Logate」からの「Initialize inflate state」

答えて

4

searchこのメッセージは、ログを出力する人を見つけるためのソースコードです。 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"); 
    ... 
} 

次の質問はwhereあり、それがどのように使われていますか?圧縮ファイルを扱うためのAssetのサブクラスである_CompressedAssetで:より正確に

/* 
* 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. 
*/ 

static Asset* createFromCompressedFile(const char* fileName, AccessMode mode); 

あなたはのrenderScriptでこのクラスの使用法、BitmapFactoryや他の場所を見つけることができます。

関連する問題