android - Cursor returning wrong values
<p>I'm querying some products in SQLite database, but same base in 2 differents android's versions return differents values.</p>

<p>Select result in database.db3 using SQLite Expert:</p>

<p><img src="http://i.stack.imgur.com/RHvaU.png" alt="result"></p>

<p>I create this code after select, to test:</p>

<pre><code>        if(cursor.moveToFirst()){
            while(!cursor.isAfterLast()){
                log("CDPROD:" + cursor.getString(cursor.getColumnIndex("CDPROD")));
                cursor.moveToNext();
            }
        }
</code></pre>

<p>Log Result in android 2.2:</p>

<pre><code>09-26 14:30:08.947: INFO/LOGG(20497): CDPROD:000000000000211934
09-26 14:30:08.967: INFO/LOGG(20497): CDPROD:000000000000211944
09-26 14:30:08.967: INFO/LOGG(20497): CDPROD:000000000000212020
09-26 14:30:08.967: INFO/LOGG(20497): CDPROD:000000000000212124
09-26 14:30:08.967: INFO/LOGG(20497): CDPROD:000000000000214280
09-26 14:30:08.967: INFO/LOGG(20497): CDPROD:000000000000212886
</code></pre>

<p>Log Result in android 2.1:</p>

<pre><code>09-26 14:18:16.772: INFO/LOGG(1039): CDPROD:211934
09-26 14:18:16.772: INFO/LOGG(1039): CDPROD:211944
09-26 14:18:16.772: INFO/LOGG(1039): CDPROD:212020
09-26 14:18:16.772: INFO/LOGG(1039): CDPROD:212124
09-26 14:18:16.772: INFO/LOGG(1039): CDPROD:214280
09-26 14:18:16.772: INFO/LOGG(1039): CDPROD:212886
</code></pre>

<p>This is a bug in Android??</p>

<p>Ty</p>
