axml/src/main/java/fr/xgouchet/axml/AXMLParser.java
private void parseResourceTable() {

        int blockSize = readWord(mBufferStartPosition, 1);
        mResourcesCount = (blockSize / WORD_SIZE) - 2; // remove the first 2 words (id, size)

        moveBufferPositionByWords(2);

        // read resources ids
        mResourcesTable = new int[mResourcesCount];
        for (int i = 0; i < mResourcesCount; ++i) {
            mResourcesTable[i] = readWord(mBufferStartPosition, i);
        }

        moveBufferPositionByWords(mResourcesCount);
    }
/**
     * The resource ids table starts with the following words :
     * <ul>
     * <li>0 : 0x00080180</li>
     * <li>1 : block size (resource ids + these 2 first words)</li>
     * </ul>
     * The block is then followed by a list of resource ids
     * <p>
     * The resources are used by android to match attributes to framework values
     * (or so it seems).
     * </p>
     */
The resource ids table starts with the following words :

0 : 0x00080180
1 : block size (resource ids + these 2 first words)

The block is then followed by a list of resource ids

The resources are used by android to match attributes to framework values
(or so it seems).
The resource ids table starts with the following words : 0 : 0x00080180 1 : block size ( resource ids + these 2 first words ) The block is then followed by a list of resource ids The resources are used by android to match attributes to framework values ( or so it seems ) .
private void parseResourceTable() {
        int blockSize = readWord(mBufferStartPosition, 1);
        mResourcesCount = (blockSize / WORD_SIZE) - 2; 
        moveBufferPositionByWords(2);
        mResourcesTable = new int[mResourcesCount];
        for (int i = 0; i < mResourcesCount; ++i) {
            mResourcesTable[i] = readWord(mBufferStartPosition, i);
        }
        moveBufferPositionByWords(mResourcesCount);
    }
private void parseResourceTable ( ) { int blockSize = readWord ( mBufferStartPosition , 1 ) ; mResourcesCount = ( blockSize / WORD_SIZE ) - 2 ; moveBufferPositionByWords ( 2 ) ; mResourcesTable = new int [ mResourcesCount ] ; for ( int i = 0 ; i < mResourcesCount ; ++ i ) { mResourcesTable [ i ] = readWord ( mBufferStartPosition , i ) ; } moveBufferPositionByWords ( mResourcesCount ) ; }
The resource ids table starts with the following words :
 <ul>
 <li>0 : 0x00080180</li>
 <li>1 : block size (resource ids + these 2 first words)</li>
 </ul>
 The block is then followed by a list of resource ids
 <p>
 The resources are used by android to match attributes to framework values
 (or so it seems).
The resource ids table starts with the following words : <ul > <li > 0 : 0x00080180< / li > <li > 1 : block size ( resource ids + these 2 first words ) < / li > < / ul > The block is then followed by a list of resource ids <p > The resources are used by android to match attributes to framework values ( or so it seems ) .
// remove the first 2 words (id, size) // read resources ids